From: Ben Gras Date: Tue, 4 Apr 2006 13:31:56 +0000 (+0000) Subject: Fixes for /var/log X-Git-Tag: v3.1.2a~58 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=3775ce2eba70440b438229831d09640ca932075d;p=minix.git Fixes for /var/log --- diff --git a/etc/usr/rc b/etc/usr/rc index 931a2c7b3..bf2eaa0e9 100644 --- a/etc/usr/rc +++ b/etc/usr/rc @@ -109,9 +109,13 @@ start) # Ugly error message when starting cron from CD. # (and cron unnecessary then so..) + rm -f /var/log || true if [ ! -f /CD ] - then daemonize cron - else . /etc/rc.cd + then ln -s /usr/log /var/log || true + daemonize cron + else mkdir /tmp/log + ln -s /tmp/log /var/log || true + . /etc/rc.cd fi daemonize syslogd echo .