From bf329c43dc671746e23c1760f9a674c58898aebb Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Tue, 3 May 2011 21:09:07 +0200 Subject: workaround: symlink /var/run/daemons -> /run/daemons Some initscripts check the folder /var/run/daemons to see if another daemon is running. They should not do this as this folder is supposed to be internal to initscripts, and use ck_daemon instead. However, we add this workaround to minimize the pain. Should be removed one day. Signed-off-by: Tom Gundersen --- rc.sysinit | 1 + 1 file changed, 1 insertion(+) (limited to 'rc.sysinit') diff --git a/rc.sysinit b/rc.sysinit index e07afe6..1f2623b 100755 --- a/rc.sysinit +++ b/rc.sysinit @@ -316,6 +316,7 @@ stat_busy "Removing Leftover Files" /bin/mountpoint -q /tmp || /bin/rm -rf /tmp/* /tmp/.* &>/dev/null [[ ! -L /var/lock ]] && /bin/rm -rf /var/lock/* [[ ! -L /var/run && -d /var/run ]] && /usr/bin/find /var/run/ \! -type d -delete +[[ ! -L /var/run && ! -L /var/run/daemons ]] && /bin/ln -sf /run/daemons /var/run/daemons : >| /var/run/utmp /bin/chmod 0664 /var/run/utmp /bin/chown root:utmp /var/run/utmp -- cgit v1.2.3