aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2000-06-15 18:56:54 +0000
committerBill Nottingham <notting@redhat.com>2000-06-15 18:56:54 +0000
commit60a0dcc9b21edc6777a4392daba44eaa06b1fc9f (patch)
treeafd1f617869f8eee36356c51653975da8db7f82a /rc.d/rc
parent855e91894a00e7f237427af5e0d2d96d0833d777 (diff)
downloadinitscripts-60a0dcc9b21edc6777a4392daba44eaa06b1fc9f.tar
initscripts-60a0dcc9b21edc6777a4392daba44eaa06b1fc9f.tar.gz
initscripts-60a0dcc9b21edc6777a4392daba44eaa06b1fc9f.tar.bz2
initscripts-60a0dcc9b21edc6777a4392daba44eaa06b1fc9f.tar.xz
initscripts-60a0dcc9b21edc6777a4392daba44eaa06b1fc9f.zip
/etc/rc.d/init.d -> /etc/init.d. Wheeeeee.
Diffstat (limited to 'rc.d/rc')
-rwxr-xr-xrc.d/rc14
1 files changed, 7 insertions, 7 deletions
diff --git a/rc.d/rc b/rc.d/rc
index 13892672..58fef4bf 100755
--- a/rc.d/rc
+++ b/rc.d/rc
@@ -10,7 +10,7 @@
#
# Source function library.
-. /etc/rc.d/init.d/functions
+. /etc/init.d/functions
# Now find out what the current and what the previous runlevel are.
argv1="$1"
@@ -35,12 +35,12 @@ fi
[ "$1" != "" ] && runlevel="$argv1"
# Tell linuxconf what runlevel we are in
-[ -d /var/run ] && echo "/etc/rc.d/rc$runlevel.d" > /var/run/runlevel.dir
+[ -d /var/run ] && echo "/etc/rc$runlevel.d" > /var/run/runlevel.dir
# Is there an rc directory for this new runlevel?
-if [ -d /etc/rc.d/rc$runlevel.d ]; then
+if [ -d /etc/rc$runlevel.d ]; then
# First, run the KILL scripts.
- for i in /etc/rc.d/rc$runlevel.d/K*; do
+ for i in /etc/rc$runlevel.d/K*; do
# Check if the script is there.
[ ! -f $i ] && continue
@@ -50,7 +50,7 @@ if [ -d /etc/rc.d/rc$runlevel.d ]; then
[ "${i%.rpmnew}" != "${i}" ] && continue
# Check if the subsystem is already up.
- subsys=${i#/etc/rc.d/rc$runlevel.d/K??}
+ subsys=${i#/etc/rc$runlevel.d/K??}
[ ! -f /var/lock/subsys/$subsys ] && \
[ ! -f /var/lock/subsys/${subsys}.init ] && continue
@@ -63,7 +63,7 @@ if [ -d /etc/rc.d/rc$runlevel.d ]; then
done
# Now run the START scripts.
- for i in /etc/rc.d/rc$runlevel.d/S*; do
+ for i in /etc/rc$runlevel.d/S*; do
# Check if the script is there.
[ ! -f $i ] && continue
@@ -73,7 +73,7 @@ if [ -d /etc/rc.d/rc$runlevel.d ]; then
[ "${i%.rpmnew}" != "${i}" ] && continue
# Check if the subsystem is already up.
- subsys=${i#/etc/rc.d/rc$runlevel.d/S??}
+ subsys=${i#/etc/rc$runlevel.d/S??}
[ -f /var/lock/subsys/$subsys ] || \
[ -f /var/lock/subsys/${subsys}.init ] && continue