summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjlam <jlam>2002-01-08 18:33:17 +0000
committerjlam <jlam>2002-01-08 18:33:17 +0000
commit1df0f005a14b756b0109071736df6bf4f09a0f29 (patch)
treeeda0847e840e17d1fcd679ca7756c7c0b11ada9f /sysutils
parentced7968a51660c02a3524a80a8f2a286b90d319b (diff)
downloadpkgsrc-1df0f005a14b756b0109071736df6bf4f09a0f29.tar.gz
Fix obvious pasto, and remove "required_files" line as upslog (unlike
upsmon) doesn't need a config file.
Diffstat (limited to 'sysutils')
-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