diff options
Diffstat (limited to 'rc.d/init.d/single')
-rwxr-xr-x | rc.d/init.d/single | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rc.d/init.d/single b/rc.d/init.d/single index e3ae2f74..6806d0c3 100755 --- a/rc.d/init.d/single +++ b/rc.d/init.d/single @@ -10,7 +10,7 @@ # Modified for RHS Linux by Damien Neil # -. /etc/rc.d/init.d/functions +. /etc/init.d/functions # Set the path. PATH=/sbin:/bin:/usr/sbin:/usr/bin @@ -39,7 +39,7 @@ if [ -f /proc/sys/kernel/modprobe ]; then fi # If they want to run something in single user mode, might as well run it... -for i in /etc/rc.d/rc1.d/S[0-9][0-9]*; do +for i in /etc/rc1.d/S[0-9][0-9]*; do # Check if the script is there. [ ! -f $i ] && continue @@ -47,7 +47,7 @@ for i in /etc/rc.d/rc1.d/S[0-9][0-9]*; do [ "${i%.rpmsave}" != "${i}" ] && continue [ "${i%.rpmorig}" != "${i}" ] && continue [ "${i%.rpmnew}" != "${i}" ] && continue - [ "$i" = "/etc/rc.d/rc1.d/S00single" ] && continue + [ "$i" = "/etc/rc1.d/S00single" ] && continue $i start done |