From: Ben Gras Date: Tue, 4 Apr 2006 11:52:57 +0000 (+0000) Subject: Make /var/log writable (in /tmp); start syslogd after that X-Git-Tag: v3.1.2a~69 X-Git-Url: http://zhaoyanbai.com/repos/migration?a=commitdiff_plain;h=a3dfe3c9a4995ba97885bfb4e5295ab6ff0dcfcf;p=minix.git Make /var/log writable (in /tmp); start syslogd after that --- 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" ]