aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/init.d')
-rwxr-xr-xrc.d/init.d/single12
1 files changed, 6 insertions, 6 deletions
diff --git a/rc.d/init.d/single b/rc.d/init.d/single
index f1c86bd5..df645e7e 100755
--- a/rc.d/init.d/single
+++ b/rc.d/init.d/single
@@ -23,18 +23,18 @@ rm -f /var/lock/subsys/*
# make sure modprobe is working
if [ -f /proc/sys/kernel/modprobe ]; then
- sysctl -w kernel.modprobe="/sbin/modprobe" >/dev/null 2>&1
+ sysctl -w kernel.modprobe="/sbin/modprobe" >/dev/null 2>&1
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
- [ "${i%.rpmorig}" != "${i}" ] && continue
- [ "${i%.rpmnew}" != "${i}" ] && continue
+ [ "${i%.rpmsave}" != "$i" ] && continue
+ [ "${i%.rpmorig}" != "$i" ] && continue
+ [ "${i%.rpmnew}" != "$i" ] && continue
[ "$i" = "/etc/rc1.d/S00single" ] && continue
$i start
done