aboutsummaryrefslogtreecommitdiff
path: root/sh.NetBSD
diff options
context:
space:
mode:
Diffstat (limited to 'sh.NetBSD')
-rw-r--r--sh.NetBSD/ifwatchd-carrier.sh.in2
-rw-r--r--sh.NetBSD/ifwatchd-nocarrier.sh.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/sh.NetBSD/ifwatchd-carrier.sh.in b/sh.NetBSD/ifwatchd-carrier.sh.in
index 4537b370..ec9c5abd 100644
--- a/sh.NetBSD/ifwatchd-carrier.sh.in
+++ b/sh.NetBSD/ifwatchd-carrier.sh.in
@@ -2,4 +2,4 @@
# Wrapper for ifwatchd(8)
export IN_BACKGROUND=yes
-@PREFIX@@SYSCONFDIR@/init.d/net.$1 --quiet start
+${RC_SERVICE} --quiet start
diff --git a/sh.NetBSD/ifwatchd-nocarrier.sh.in b/sh.NetBSD/ifwatchd-nocarrier.sh.in
index d8168688..3ba111cb 100644
--- a/sh.NetBSD/ifwatchd-nocarrier.sh.in
+++ b/sh.NetBSD/ifwatchd-nocarrier.sh.in
@@ -2,4 +2,4 @@
# Wrapper for ifwatchd(8)
export IN_BACKGROUND=yes
-@PREFIX@@SYSCONFDIR@/init.d/net.$1 --quiet stop
+${RC_SERVICE} --quiet stop