Put ldconfig later so it doesn't get wiped when reaping /var/run.

This commit is contained in:
mycroft 1993-11-26 20:11:44 +00:00
parent 226a277da1
commit eafa1693d9
1 changed files with 4 additions and 4 deletions

8
etc/rc
View File

@ -61,10 +61,6 @@ umount -a >/dev/null 2>&1
mount -a -t nonfs
rm -f /fastboot # XXX (root now writeable)
echo 'runtime link editor directory cache'
rm -f /var/run/ld.so.hints
ldconfig
# set hostname, turn on network
echo 'starting network'
. /etc/netstart
@ -77,6 +73,10 @@ rm -f /var/spool/uucp/LCK.*
rm -f /var/spool/uucp/STST/*
(cd /var/run && { rm -rf -- *; cp /dev/null utmp; chmod 644 utmp; })
echo 'runtime link editor directory cache'
rm -f /var/run/ld.so.hints
ldconfig
echo -n 'starting system logger'
rm -f /dev/log
syslogd