Make /var/log writable (in /tmp); start syslogd after that
This commit is contained in:
parent
d93b0e8f18
commit
a3dfe3c9a4
|
@ -1,3 +1,10 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# CD boottime initializations.
|
# 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
|
||||||
|
|
|
@ -106,7 +106,6 @@ start)
|
||||||
|
|
||||||
echo -n "Starting daemons:"
|
echo -n "Starting daemons:"
|
||||||
daemonize update
|
daemonize update
|
||||||
daemonize syslogd
|
|
||||||
|
|
||||||
# Ugly error message when starting cron from CD.
|
# Ugly error message when starting cron from CD.
|
||||||
# (and cron unnecessary then so..)
|
# (and cron unnecessary then so..)
|
||||||
|
@ -114,6 +113,7 @@ start)
|
||||||
then daemonize cron
|
then daemonize cron
|
||||||
else . /etc/rc.cd
|
else . /etc/rc.cd
|
||||||
fi
|
fi
|
||||||
|
daemonize syslogd
|
||||||
echo .
|
echo .
|
||||||
|
|
||||||
if [ "$net" ]
|
if [ "$net" ]
|
||||||
|
|
Loading…
Reference in a new issue