aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBernhard Rosenkraenzer <bero@redhat.com>2000-07-24 14:19:47 +0000
committerBernhard Rosenkraenzer <bero@redhat.com>2000-07-24 14:19:47 +0000
commit47b097ca9827acb57ea5b601c29840912eae9873 (patch)
tree912f99254f1b4ce75a536436704e37884e389946 /rc.d
parent593106713b216730001a1e132f1eebb446cea623 (diff)
downloadinitscripts-47b097ca9827acb57ea5b601c29840912eae9873.tar
initscripts-47b097ca9827acb57ea5b601c29840912eae9873.tar.gz
initscripts-47b097ca9827acb57ea5b601c29840912eae9873.tar.bz2
initscripts-47b097ca9827acb57ea5b601c29840912eae9873.tar.xz
initscripts-47b097ca9827acb57ea5b601c29840912eae9873.zip
/etc/init.d -> /etc/rc.d/init.dr5-36
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/init.d/functions4
-rwxr-xr-xrc.d/init.d/halt2
-rwxr-xr-xrc.d/init.d/killall6
-rwxr-xr-xrc.d/init.d/netfs2
-rwxr-xr-xrc.d/init.d/network4
-rwxr-xr-xrc.d/init.d/single2
-rwxr-xr-xrc.d/rc2
-rwxr-xr-xrc.d/rc.sysinit2
8 files changed, 12 insertions, 12 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions
index 3922af3a..0a2457aa 100755
--- a/rc.d/init.d/functions
+++ b/rc.d/init.d/functions
@@ -1,9 +1,9 @@
#!/bin/sh
#
# functions This file contains functions to be used by most or all
-# shell scripts in the /etc/init.d directory.
+# shell scripts in the /etc/rc.d/init.d directory.
#
-# Version: @(#) /etc/init.d/functions 1.01 26-Oct-1993
+# Version: @(#) /etc/rc.d/init.d/functions 1.01 26-Oct-1993
#
# Author: Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
# Hacked by: Greg Galloway and Marc Ewing
diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt
index 22f008c9..738a6532 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/init.d/functions
+. /etc/rc.d/init.d/functions
runcmd() {
echo -n "$1 "
diff --git a/rc.d/init.d/killall b/rc.d/init.d/killall
index 0aff07ac..9d244119 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/init.d/$subsys.init ]; then
- /etc/init.d/$subsys.init stop
+ if [ -f /etc/rc.d/init.d/$subsys.init ]; then
+ /etc/rc.d/init.d/$subsys.init stop
else
- /etc/init.d/$subsys stop
+ /etc/rc.d/init.d/$subsys stop
fi
done
diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs
index 39e6ef76..57cb462e 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/init.d/functions
+. /etc/rc.d/init.d/functions
. /etc/sysconfig/network
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index 6c79c36b..30025a04 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -8,7 +8,7 @@
# probe: true
# Source function library.
-. /etc/init.d/functions
+. /etc/rc.d/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/init.d/netfs stop
+ /etc/rc.d/init.d/netfs stop
fi
fi
diff --git a/rc.d/init.d/single b/rc.d/init.d/single
index 6806d0c3..7b453a09 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/init.d/functions
+. /etc/rc.d/init.d/functions
# Set the path.
PATH=/sbin:/bin:/usr/sbin:/usr/bin
diff --git a/rc.d/rc b/rc.d/rc
index 58fef4bf..3dd5eff6 100755
--- a/rc.d/rc
+++ b/rc.d/rc
@@ -10,7 +10,7 @@
#
# Source function library.
-. /etc/init.d/functions
+. /etc/rc.d/init.d/functions
# Now find out what the current and what the previous runlevel are.
argv1="$1"
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index d249db77..e57781f1 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -26,7 +26,7 @@ else
fi
# Source functions
-. /etc/init.d/functions
+. /etc/rc.d/init.d/functions
# Print a banner. ;)
echo -en "\t\t\tWelcome to "