summaryrefslogtreecommitdiff
path: root/sysutils/ups-nut
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-01-08 18:33:17 +0000
committerjlam <jlam@pkgsrc.org>2002-01-08 18:33:17 +0000
commit27392997435d2137f13f140aab8b9b4820766985 (patch)
treeeda0847e840e17d1fcd679ca7756c7c0b11ada9f /sysutils/ups-nut
parentca77633070ae61e5f14635f55d343e89aa29c93a (diff)
downloadpkgsrc-27392997435d2137f13f140aab8b9b4820766985.tar.gz
Fix obvious pasto, and remove "required_files" line as upslog (unlike
upsmon) doesn't need a config file.
Diffstat (limited to 'sysutils/ups-nut')
-rw-r--r--sysutils/ups-nut/files/upslog.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/sysutils/ups-nut/files/upslog.sh b/sysutils/ups-nut/files/upslog.sh
index 2da1511cc1e..56023203b43 100644
--- a/sysutils/ups-nut/files/upslog.sh
+++ b/sysutils/ups-nut/files/upslog.sh
@@ -1,6 +1,6 @@
#! /bin/sh
#
-# $NetBSD: upslog.sh,v 1.2 2001/11/21 21:38:55 jlam Exp $
+# $NetBSD: upslog.sh,v 1.3 2002/01/08 18:33:17 jlam Exp $
#
# PROVIDE: upslog
# REQUIRE: upsd
@@ -23,7 +23,6 @@ name="upslog"
rcvar="${name}"
command="@PREFIX@/bin/${name}"
pidfile="/var/run/${name}.pid"
-required_files="@CONFDIR@/nut/${name}.conf"
if [ -e /etc/rc.subr ]
then
@@ -31,5 +30,5 @@ then
run_rc_command "$1"
else
@ECHO@ -n " ${name}"
- ${command} ${upsmon_flags} ${command_args}
+ ${command} ${upslog_flags} ${command_args}
fi