aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-02-18 18:59:13 +0000
committerBill Nottingham <notting@redhat.com>1999-02-18 18:59:13 +0000
commit999b466f77389473f97fa138fecdace5a281e7ec (patch)
tree42569e7c619239b0bfc9e31f7ace494f270479f2 /rc.d/init.d
parent79cf5aa1756db222e84f611669ef7eb504d28b63 (diff)
downloadinitscripts-999b466f77389473f97fa138fecdace5a281e7ec.tar
initscripts-999b466f77389473f97fa138fecdace5a281e7ec.tar.gz
initscripts-999b466f77389473f97fa138fecdace5a281e7ec.tar.bz2
initscripts-999b466f77389473f97fa138fecdace5a281e7ec.tar.xz
initscripts-999b466f77389473f97fa138fecdace5a281e7ec.zip
fie, a missing fi. Also, source functions.
Diffstat (limited to 'rc.d/init.d')
-rwxr-xr-xrc.d/init.d/single3
1 files changed, 3 insertions, 0 deletions
diff --git a/rc.d/init.d/single b/rc.d/init.d/single
index a6376aae..6a0d2ca0 100755
--- a/rc.d/init.d/single
+++ b/rc.d/init.d/single
@@ -10,6 +10,8 @@
# Modified for RHS Linux by Damien Neil
#
+. /etc/rc.d/init.d/functions
+
# Set the path.
PATH=/sbin:/bin:/usr/sbin:/usr/bin
@@ -31,6 +33,7 @@ if [ -f /proc/sys/kernel/modprobe ]; then
echo "/sbin/modprobe" > /proc/sys/kernel/modprobe
else
/etc/rc.d/init.d/kerneld start
+fi
# Now go to the single user level.
echo "Telling INIT to go to single user mode."