Fixes for /var/log
This commit is contained in:
parent
a18229a8f7
commit
3775ce2eba
@ -109,9 +109,13 @@ start)
|
|||||||
|
|
||||||
# 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..)
|
||||||
|
rm -f /var/log || true
|
||||||
if [ ! -f /CD ]
|
if [ ! -f /CD ]
|
||||||
then daemonize cron
|
then ln -s /usr/log /var/log || true
|
||||||
else . /etc/rc.cd
|
daemonize cron
|
||||||
|
else mkdir /tmp/log
|
||||||
|
ln -s /tmp/log /var/log || true
|
||||||
|
. /etc/rc.cd
|
||||||
fi
|
fi
|
||||||
daemonize syslogd
|
daemonize syslogd
|
||||||
echo .
|
echo .
|
||||||
|
Loading…
x
Reference in New Issue
Block a user