diff options
author | jlam <jlam> | 2001-11-21 16:05:40 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-11-21 16:05:40 +0000 |
commit | 8073259d162909bbff426d150d6a7cd908df00b2 (patch) | |
tree | efae83456f07341a6032c6cc34ec36b79d5a7c6c /sysutils | |
parent | b2fab0608f41f2662e24e18d18b2097d4a655adf (diff) | |
download | pkgsrc-8073259d162909bbff426d150d6a7cd908df00b2.tar.gz |
Remove an extra run_rc_commands line, and set _arg in pre-rc.d case.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/ups-nut/files/ups.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/ups-nut/files/ups.sh b/sysutils/ups-nut/files/ups.sh index d4ab04b16d4..f1dfc03b5e6 100644 --- a/sysutils/ups-nut/files/ups.sh +++ b/sysutils/ups-nut/files/ups.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: ups.sh,v 1.1 2001/11/21 15:50:55 jlam Exp $ +# $NetBSD: ups.sh,v 1.2 2001/11/21 16:05:40 jlam Exp $ # # PROVIDE: ups # KEYWORD: nostart @@ -37,11 +37,11 @@ start_cmd="ups_commands" stop_cmd="ups_reversecommands" status_cmd="ups_commands" extra_commands="status" -run_rc_command "$1" if [ ! -d /etc/rc.d ] then @ECHO@ -n " ${name}" + _arg="$1" ${start_cmd} "$1" else run_rc_command "$1" |