diff options
author | Bill Nottingham <notting@redhat.com> | 2001-01-23 20:15:59 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-01-23 20:15:59 +0000 |
commit | 3b0c07cb110c35ecb9b68ccc0fce8ed5f865cd72 (patch) | |
tree | 0f0e78f3634deed3d2c36161430ecbdbd6b53bf2 /rc.d/rc | |
parent | a4a25465cd2844d72bf518188b813c009450f505 (diff) | |
download | initscripts-3b0c07cb110c35ecb9b68ccc0fce8ed5f865cd72.tar initscripts-3b0c07cb110c35ecb9b68ccc0fce8ed5f865cd72.tar.gz initscripts-3b0c07cb110c35ecb9b68ccc0fce8ed5f865cd72.tar.bz2 initscripts-3b0c07cb110c35ecb9b68ccc0fce8ed5f865cd72.tar.xz initscripts-3b0c07cb110c35ecb9b68ccc0fce8ed5f865cd72.zip |
tag action, runcmd, etc. lines as well
Diffstat (limited to 'rc.d/rc')
-rwxr-xr-x | rc.d/rc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -37,7 +37,7 @@ export CONFIRM [ -n "$argv1" ] && runlevel="$argv1" # Tell linuxconf what runlevel we are in -[ -d /var/run ] && echo $"/etc/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$runlevel.d ]; then @@ -60,7 +60,7 @@ if [ -d /etc/rc$runlevel.d ]; then if egrep -q "(killproc |action )" $i ; then $i stop else - action "Stopping $subsys: " $i stop + action $"Stopping $subsys: " $i stop fi done @@ -103,7 +103,7 @@ if [ -d /etc/rc$runlevel.d ]; then if [ "$subsys" = "halt" -o "$subsys" = "reboot" -o "$subsys" = "single" -o "$subsys" = "local" ]; then $i start else - action "Starting $subsys: " $i start + action $"Starting $subsys: " $i start fi fi done |