diff options
author | Bill Nottingham <notting@redhat.com> | 1999-10-06 17:42:37 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 1999-10-06 17:42:37 +0000 |
commit | 046497b33a54b01c8d7bf472acf559119eff89f5 (patch) | |
tree | 8df587b2b3ed8b2e833ebaae4622e39744aa09f4 /service | |
parent | a726c880f72b830fa7607a0c8fb696b434428e17 (diff) | |
download | initscripts-046497b33a54b01c8d7bf472acf559119eff89f5.tar initscripts-046497b33a54b01c8d7bf472acf559119eff89f5.tar.gz initscripts-046497b33a54b01c8d7bf472acf559119eff89f5.tar.bz2 initscripts-046497b33a54b01c8d7bf472acf559119eff89f5.tar.xz initscripts-046497b33a54b01c8d7bf472acf559119eff89f5.zip |
fix it. Really, we mean it.
Diffstat (limited to 'service')
-rwxr-xr-x | service | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -4,7 +4,9 @@ if [ -z "$1" ]; then echo "no service specified" >&2 exit 1 elif [ -x "/etc/rc.d/init.d/$1" ]; then - "/etc/rc.d/init.d/$1" $* + service=$1 + shift + "/etc/rc.d/init.d/$service" $* else echo "$1: unrecognized service" >&2 exit 1 |