summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"