aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1997-12-31 18:21:07 +0000
committerErik Troan <ewt@redhat.com>1997-12-31 18:21:07 +0000
commit9fb789cd97072799715aa24ef91949076d6da8f4 (patch)
tree9470828c863897db7e0e450f38ee1272004c3615 /rc.d/rc.sysinit
parent0b0cf8b55ed1c1609ab854c56aac174407da4759 (diff)
downloadinitscripts-9fb789cd97072799715aa24ef91949076d6da8f4.tar
initscripts-9fb789cd97072799715aa24ef91949076d6da8f4.tar.gz
initscripts-9fb789cd97072799715aa24ef91949076d6da8f4.tar.bz2
initscripts-9fb789cd97072799715aa24ef91949076d6da8f4.tar.xz
initscripts-9fb789cd97072799715aa24ef91949076d6da8f4.zip
- touch /var/lock/subsys/kerneld after cleaning out /var/lock/subsys
- the logic for when /var/lock/subsys/kerneld is touched was backwards
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit8
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