From a3dfe3c9a4995ba97885bfb4e5295ab6ff0dcfcf Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Tue, 4 Apr 2006 11:52:57 +0000 Subject: [PATCH] Make /var/log writable (in /tmp); start syslogd after that --- etc/rc.cd | 7 +++++++ etc/usr/rc | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/etc/rc.cd b/etc/rc.cd index 01e91a81a..0680b11ad 100644 --- a/etc/rc.cd +++ b/etc/rc.cd @@ -1,3 +1,10 @@ #!/bin/sh # CD boottime initializations. + +PATH=/bin:/usr/bin + +# This is so we can get a writable /var/log. +mkdir /tmp/log +rm -f /var/log +ln -s /var/log /tmp/log diff --git a/etc/usr/rc b/etc/usr/rc index 4189b6bf8..931a2c7b3 100644 --- a/etc/usr/rc +++ b/etc/usr/rc @@ -106,7 +106,6 @@ start) echo -n "Starting daemons:" daemonize update - daemonize syslogd # Ugly error message when starting cron from CD. # (and cron unnecessary then so..) @@ -114,6 +113,7 @@ start) then daemonize cron else . /etc/rc.cd fi + daemonize syslogd echo . if [ "$net" ] -- 2.44.0