aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/single
diff options
context:
space:
mode:
authorFlorian La Roche <laroche@redhat.com>2002-06-26 09:20:01 +0000
committerFlorian La Roche <laroche@redhat.com>2002-06-26 09:20:01 +0000
commit4b23ce56fb9035cc129d96b1ffe85d40c53dc5f6 (patch)
tree0ab8b4cdcb4aef2a9f630fd645ddd31e29bb3cf9 /rc.d/init.d/single
parent39aa2c790f150cfc31fd59028c9cc397a7b9c8c9 (diff)
downloadinitscripts-4b23ce56fb9035cc129d96b1ffe85d40c53dc5f6.tar
initscripts-4b23ce56fb9035cc129d96b1ffe85d40c53dc5f6.tar.gz
initscripts-4b23ce56fb9035cc129d96b1ffe85d40c53dc5f6.tar.bz2
initscripts-4b23ce56fb9035cc129d96b1ffe85d40c53dc5f6.tar.xz
initscripts-4b23ce56fb9035cc129d96b1ffe85d40c53dc5f6.zip
- further cleanups
Diffstat (limited to 'rc.d/init.d/single')
-rwxr-xr-xrc.d/init.d/single6
1 files changed, 2 insertions, 4 deletions
diff --git a/rc.d/init.d/single b/rc.d/init.d/single
index c9304091..03be8134 100755
--- a/rc.d/init.d/single
+++ b/rc.d/init.d/single
@@ -10,9 +10,7 @@
# Modified for RHS Linux by Damien Neil
#
-# Set the path.
PATH=/sbin:/bin:/usr/sbin:/usr/bin
-TEXTDOMAIN=initscripts
. /etc/rc.d/init.d/functions
@@ -22,7 +20,7 @@ fi
rm -f /var/lock/subsys/*
-# this looks nices
+# this looks nicer
[ -x /usr/bin/clear ] && /usr/bin/clear
# make sure modprobe is working
@@ -33,7 +31,7 @@ fi
# If they want to run something in single user mode, might as well run it...
for i in /etc/rc1.d/S[0-9][0-9]*; do
# Check if the script is there.
- [ ! -f $i ] && continue
+ [ -f $i ] || continue
# Don't run [KS]??foo.{rpmsave,rpmorig} scripts
[ "${i%.rpmsave}" != "${i}" ] && continue