diff --git a/src/etc/rc b/src/etc/rc index f9160383..4dde3ac2 100644 --- a/src/etc/rc +++ b/src/etc/rc @@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.230 2003/12/05 00:52:16 deraadt Exp $ +# $OpenBSD: rc,v 1.231 2003/12/29 23:16:45 millert Exp $ # System startup script run by init on autoboot # or after single-user. @@ -383,10 +383,6 @@ if [ $? -eq 0 ]; then rm -f $T fi -if [ -x /usr/libexec/vi.recover ]; then - echo 'preserving editor files'; /usr/libexec/vi.recover -fi - if [ -f /var/account/acct ]; then echo 'turning on accounting'; accton /var/account/acct fi @@ -402,6 +398,10 @@ if [ -f /sbin/ldconfig ]; then ldconfig $shlib_dirs fi +if [ -x /usr/libexec/vi.recover ]; then + echo 'preserving editor files'; /usr/libexec/vi.recover +fi + if [ ! -f /etc/ssh/ssh_host_dsa_key ]; then echo -n "ssh-keygen: generating new DSA host key... " if /usr/bin/ssh-keygen -q -t dsa -f /etc/ssh/ssh_host_dsa_key -N ''; then