summaryrefslogtreecommitdiff
path: root/sh/init-common-post.sh
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-10-31 15:46:56 +0000
committerRoy Marples <roy@marples.name>2007-10-31 15:46:56 +0000
commit7cd70aee4d62015283a1191b354c9c91dc343bbf (patch)
treeddd360658ca9b574505d6b670ee4a6b8c69d33c0 /sh/init-common-post.sh
parentfeed4b4c90e92996a19e7d8da70909c6e38f2124 (diff)
downloadopenrc-7cd70aee4d62015283a1191b354c9c91dc343bbf.tar.gz
openrc-7cd70aee4d62015283a1191b354c9c91dc343bbf.tar.bz2
openrc-7cd70aee4d62015283a1191b354c9c91dc343bbf.tar.xz
You can now log baselayout-2 again, through the RC_LOGGER conf.d/rc
setting. The log is temp stored in /lib/rc/init.d/rc.log and appended to /var/log/rc.log if it's writeable. sysinit cannot be logged in Linux as we rely on sysinit to bring the system up to a point where we can log. single user cannot be logged on FreeBSD due to waitpid(0,0,0) incorrectly waiting for the log daemon in another process group.
Diffstat (limited to 'sh/init-common-post.sh')
-rw-r--r--sh/init-common-post.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/init-common-post.sh b/sh/init-common-post.sh
index 095d6a0..f01bd98 100644
--- a/sh/init-common-post.sh
+++ b/sh/init-common-post.sh
@@ -7,7 +7,7 @@
if mkdir "${RC_SVCDIR}/.test.$$" 2>/dev/null ; then
rmdir "${RC_SVCDIR}/.test.$$"
rm -rf $(ls -d1 "${RC_SVCDIR:-/lib/rcscripts/init.d}"/* 2>/dev/null | \
- grep -Ev "/(deptree|ksoftlevel)$")
+ grep -Ev "/(deptree|ksoftlevel|rc.log)$")
else
mount_svcdir
fi