From: Ben Gras Date: Tue, 4 Apr 2006 13:44:23 +0000 (+0000) Subject: Only fiddle with /var/log on cd X-Git-Tag: v3.1.2a~56 X-Git-Url: http://zhaoyanbai.com/repos/COPYRIGHT?a=commitdiff_plain;h=ea398f994acab8ab3e20ee5ef2a7c01f8f352ee8;p=minix.git Only fiddle with /var/log on cd --- diff --git a/etc/usr/rc b/etc/usr/rc index bf2eaa0e9..be5e666df 100644 --- a/etc/usr/rc +++ b/etc/usr/rc @@ -109,11 +109,10 @@ start) # Ugly error message when starting cron from CD. # (and cron unnecessary then so..) - rm -f /var/log || true if [ ! -f /CD ] - then ln -s /usr/log /var/log || true - daemonize cron + then daemonize cron else mkdir /tmp/log + rm -f /var/log || true ln -s /tmp/log /var/log || true . /etc/rc.cd fi