/var/run is cleared on boot. Rerun 'ldconfig /usr/X386/lib' after

clearing /var/run if /sbin/ldconfig exists.
This commit is contained in:
Rich Murphey 1993-11-24 05:17:14 +00:00
parent 997e3029c9
commit 65f9ff3f2f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=796

6
etc/rc
View File

@ -1,5 +1,5 @@
#!/bin/sh
# $Id$
# $Id: rc,v 1.4 1993/11/07 01:19:06 wollman Exp $
# From: @(#)rc 5.27 (Berkeley) 6/5/91
# System startup script run by init on autoboot
@ -75,6 +75,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; })
if [ -x /sbin/ldconfig ]; then
ldconfig /usr/X386/lib
fi
echo -n 'starting system logger'
rm -f /dev/log
syslogd