diff options
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-x | rc.d/rc.sysinit | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 36f7a7ca..05c4fafe 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -173,10 +173,6 @@ if [ -x /sbin/quotaon ]; then /sbin/quotaon -a fi -if [ -z "$KERNELD" ]; then - touch /var/lock/subsys/kerneld -fi - # Clean out /etc. rm -f /etc/mtab~ /fastboot /etc/nologin /fsckoptions >/var/run/utmp @@ -187,6 +183,10 @@ rm -f /var/lock/LCK* # Delete stale subsystem files. rm -f /var/lock/subsys/* +if [ -n "$KERNELD" ]; then + touch /var/lock/subsys/kerneld +fi + # Delete stale pid files rm -f /var/run/*.pid |