diff options
Diffstat (limited to 'rc.d/init.d')
-rwxr-xr-x | rc.d/init.d/halt | 2 | ||||
-rwxr-xr-x | rc.d/init.d/killall | 6 | ||||
-rwxr-xr-x | rc.d/init.d/netfs | 2 | ||||
-rwxr-xr-x | rc.d/init.d/network | 4 | ||||
-rwxr-xr-x | rc.d/init.d/random | 2 | ||||
-rwxr-xr-x | rc.d/init.d/single | 6 |
6 files changed, 11 insertions, 11 deletions
diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt index 738a6532..22f008c9 100755 --- a/rc.d/init.d/halt +++ b/rc.d/init.d/halt @@ -11,7 +11,7 @@ # Set the path. PATH=/sbin:/bin:/usr/bin:/usr/sbin -. /etc/rc.d/init.d/functions +. /etc/init.d/functions runcmd() { echo -n "$1 " diff --git a/rc.d/init.d/killall b/rc.d/init.d/killall index 9d244119..0aff07ac 100755 --- a/rc.d/init.d/killall +++ b/rc.d/init.d/killall @@ -11,10 +11,10 @@ for i in /var/lock/subsys/*; do subsys=${i#/var/lock/subsys/} # Bring the subsystem down. - if [ -f /etc/rc.d/init.d/$subsys.init ]; then - /etc/rc.d/init.d/$subsys.init stop + if [ -f /etc/init.d/$subsys.init ]; then + /etc/init.d/$subsys.init stop else - /etc/rc.d/init.d/$subsys stop + /etc/init.d/$subsys stop fi done diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs index 57cb462e..39e6ef76 100755 --- a/rc.d/init.d/netfs +++ b/rc.d/init.d/netfs @@ -15,7 +15,7 @@ if [ ! -f /etc/sysconfig/network ]; then fi # Source function library. -. /etc/rc.d/init.d/functions +. /etc/init.d/functions . /etc/sysconfig/network diff --git a/rc.d/init.d/network b/rc.d/init.d/network index 30025a04..6c79c36b 100755 --- a/rc.d/init.d/network +++ b/rc.d/init.d/network @@ -8,7 +8,7 @@ # probe: true # Source function library. -. /etc/rc.d/init.d/functions +. /etc/init.d/functions if [ ! -f /etc/sysconfig/network ]; then exit 0 @@ -88,7 +88,7 @@ case "$1" in SMBMTAB=`grep -v '^#' /proc/mounts | awk '{ if ($3 ~ /^smbfs$/ ) print $2}'` NCPMTAB=`grep -v '^#' /proc/mounts | awk '{ if ($3 ~ /^ncpfs$/ ) print $2}'` if [ -n "$NFSMTAB" -o -n "$SMBMTAB" -o -n "$NCPMTAB" ] ; then - /etc/rc.d/init.d/netfs stop + /etc/init.d/netfs stop fi fi diff --git a/rc.d/init.d/random b/rc.d/init.d/random index 87a91a8c..42dce627 100755 --- a/rc.d/init.d/random +++ b/rc.d/init.d/random @@ -9,7 +9,7 @@ # random number generation. # Source function library. -. /etc/rc.d/init.d/functions +. /etc/init.d/functions random_seed=/var/run/random-seed 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 |