From ea398f994acab8ab3e20ee5ef2a7c01f8f352ee8 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Tue, 4 Apr 2006 13:44:23 +0000 Subject: [PATCH] Only fiddle with /var/log on cd --- etc/usr/rc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 -- 2.44.0