From 3775ce2eba70440b438229831d09640ca932075d Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Tue, 4 Apr 2006 13:31:56 +0000 Subject: [PATCH] Fixes for /var/log --- etc/usr/rc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 . -- 2.44.0