aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrc.d/rc.sysinit4
1 files changed, 4 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index d42933e4..23ac3a98 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -97,6 +97,7 @@ fi
if [ -x /sbin/kerneld -a -n "$USEMODULES" ]; then
/sbin/kerneld
+ KERNELD=yse
fi
# Check filesystems
@@ -137,6 +138,9 @@ 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