diff options
author | pst <pst@FreeBSD.org> | 1996-06-24 19:00:28 +0000 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1996-06-24 19:00:28 +0000 |
commit | 1e72a3c651156573f84c6730f7c78cf8b503c80d (patch) | |
tree | 3e10e2a147760bf471107dda5b72a4cccd44aae6 /etc | |
parent | e7f84717843a1fa3a951e602bb8df431353681f7 (diff) | |
download | FreeBSD-src-1e72a3c651156573f84c6730f7c78cf8b503c80d.zip FreeBSD-src-1e72a3c651156573f84c6730f7c78cf8b503c80d.tar.gz |
Start vi.recovery processing after ldconfig.
Closes misc/1346 which has bitten me more times than I care to remember.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -1,5 +1,5 @@ #!/bin/sh -# $Id: rc,v 1.91 1996/06/15 17:04:48 jkh Exp $ +# $Id: rc,v 1.92 1996/06/22 13:05:20 joerg Exp $ # From: @(#)rc 5.27 (Berkeley) 6/5/91 # System startup script run by init on autoboot @@ -277,15 +277,6 @@ then "password file may be incorrect -- /etc/ptmp exists" fi -# Recover vi editor files. -virecovery=`echo /var/tmp/vi.recover/recover.*` -if [ "$virecovery" != '/var/tmp/vi.recover/recover.*' ]; then - echo 'Recovering vi editor sessions' - for i in $virecovery; do - sendmail -t < $i - done -fi - if [ "X${accounting}" = X"YES" -a -d /var/account ]; then echo 'turning on accounting' if [ ! -e /var/account/acct ]; then @@ -328,6 +319,15 @@ if [ -f /etc/rc.${arch} ]; then . /etc/rc.${arch} fi +# Recover vi editor files. +virecovery=`echo /var/tmp/vi.recover/recover.*` +if [ "$virecovery" != '/var/tmp/vi.recover/recover.*' ]; then + echo 'Recovering vi editor sessions' + for i in $virecovery; do + sendmail -t < $i + done +fi + # for each valid dir in $local_startup, search for init scripts matching *.sh if [ "X${local_startup}" != X"NO" ]; then echo -n 'Local package startup:' |