diff options
Diffstat (limited to 'etc/rc')
-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:' |