diff options
author | Tom Gundersen <teg@jklm.no> | 2011-05-03 21:09:07 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2011-05-08 01:41:09 +0200 |
commit | bf329c43dc671746e23c1760f9a674c58898aebb (patch) | |
tree | a242bbadd9dfc96285282ef75cff83a361321f23 /rc.sysinit | |
parent | d8796827633d533e53ba7e158ee6354c38d0e88e (diff) | |
download | initscripts-bf329c43dc671746e23c1760f9a674c58898aebb.tar.xz |
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 <teg@jklm.no>
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-x | rc.sysinit | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |