summaryrefslogtreecommitdiff
path: root/sysutils/ups-nut/files
diff options
context:
space:
mode:
authorseb <seb>2002-02-15 08:55:59 +0000
committerseb <seb>2002-02-15 08:55:59 +0000
commit44b5c205781bf9ba773f38e6d4a499c5e0a1e844 (patch)
tree377cdc0973e7c56f50d06b17138edc09bee4aeb3 /sysutils/ups-nut/files
parent7002e97932850679a1b5c318f1bc61747601a9ca (diff)
downloadpkgsrc-44b5c205781bf9ba773f38e6d4a499c5e0a1e844.tar.gz
Test for file /etc/rc.subr and not /etc/rc.d.
Diffstat (limited to 'sysutils/ups-nut/files')
-rw-r--r--sysutils/ups-nut/files/upsd.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/ups-nut/files/upsd.sh b/sysutils/ups-nut/files/upsd.sh
index 4ff7babc204..62ca4d9883c 100644
--- a/sysutils/ups-nut/files/upsd.sh
+++ b/sysutils/ups-nut/files/upsd.sh
@@ -1,6 +1,6 @@
#! /bin/sh
#
-# $NetBSD: upsd.sh,v 1.3 2002/02/05 06:04:41 jlam Exp $
+# $NetBSD: upsd.sh,v 1.4 2002/02/15 08:55:59 seb Exp $
#
# PROVIDE: upsd
# REQUIRE: upsdriver
@@ -16,7 +16,7 @@ command="@PREFIX@/sbin/${name}"
required_files="@NUT_CONFDIR@/${name}.conf"
pidfile="@NUT_STATEDIR@/${name}.pid"
-if [ -f /etc/rc.d ]
+if [ -f /etc/rc.subr ]
then
load_rc_config $name
run_rc_command "$1"