aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1997-10-28 20:12:30 +0000
committerErik Troan <ewt@redhat.com>1997-10-28 20:12:30 +0000
commitb76dce6c04d1dca95ea07a6800f77fc9ac1928a6 (patch)
treefe741b03ba13883c6bf64c1f88ad3994db8abe9e
parent7a84546fb6cdb3a62a9b6cfaa01432e1618446cb (diff)
downloadinitscripts-r3-21.tar
initscripts-r3-21.tar.gz
initscripts-r3-21.tar.bz2
initscripts-r3-21.tar.xz
initscripts-r3-21.zip
single user mode restarts kerneldr3-21
-rwxr-xr-xrc.d/init.d/single6
1 files changed, 6 insertions, 0 deletions
diff --git a/rc.d/init.d/single b/rc.d/init.d/single
index 98140a9c..20e50b10 100755
--- a/rc.d/init.d/single
+++ b/rc.d/init.d/single
@@ -24,6 +24,12 @@ kill -9 -1
rm -f /var/lock/subsys/*
+# this looks nices
+[ -x /usr/bin/clear ] && /usr/bin/clear
+
+# we just killed kerneld :-(
+/etc/rc.d/init.d/kerneld start
+
# Now go to the single user level.
echo "Telling INIT to go to single user mode."
exec init -t1 S