diff options
author | Florian La Roche <laroche@redhat.com> | 2002-07-05 21:10:17 +0000 |
---|---|---|
committer | Florian La Roche <laroche@redhat.com> | 2002-07-05 21:10:17 +0000 |
commit | 756e7ebae3da05129c2ebc5031ec48425c9f9c43 (patch) | |
tree | d140a9217fe116f5f449bfdeb4cd3fe28664f8a6 /rc.d/init.d | |
parent | cdcc0c10b2267cefb6df4d6e99971ddff75783be (diff) | |
download | initscripts-756e7ebae3da05129c2ebc5031ec48425c9f9c43.tar initscripts-756e7ebae3da05129c2ebc5031ec48425c9f9c43.tar.gz initscripts-756e7ebae3da05129c2ebc5031ec48425c9f9c43.tar.bz2 initscripts-756e7ebae3da05129c2ebc5031ec48425c9f9c43.tar.xz initscripts-756e7ebae3da05129c2ebc5031ec48425c9f9c43.zip |
- just coding style, no real changes
Diffstat (limited to 'rc.d/init.d')
-rwxr-xr-x | rc.d/init.d/single | 12 |
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 |