Make /var/log writable (in /tmp); start syslogd after that

This commit is contained in:
Ben Gras 2006-04-04 11:52:57 +00:00
parent d93b0e8f18
commit a3dfe3c9a4
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,10 @@
#!/bin/sh
# CD boottime initializations.
PATH=/bin:/usr/bin
# This is so we can get a writable /var/log.
mkdir /tmp/log
rm -f /var/log
ln -s /var/log /tmp/log

View file

@ -106,7 +106,6 @@ start)
echo -n "Starting daemons:"
daemonize update
daemonize syslogd
# Ugly error message when starting cron from CD.
# (and cron unnecessary then so..)
@ -114,6 +113,7 @@ start)
then daemonize cron
else . /etc/rc.cd
fi
daemonize syslogd
echo .
if [ "$net" ]