Fixes for /var/log

This commit is contained in:
Ben Gras 2006-04-04 13:31:56 +00:00
parent a18229a8f7
commit 3775ce2eba

View File

@ -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 .