aboutsummaryrefslogtreecommitdiff
path: root/sh.NetBSD/ifwatchd-nocarrier.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'sh.NetBSD/ifwatchd-nocarrier.sh.in')
-rw-r--r--sh.NetBSD/ifwatchd-nocarrier.sh.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/sh.NetBSD/ifwatchd-nocarrier.sh.in b/sh.NetBSD/ifwatchd-nocarrier.sh.in
new file mode 100644
index 00000000..d8168688
--- /dev/null
+++ b/sh.NetBSD/ifwatchd-nocarrier.sh.in
@@ -0,0 +1,5 @@
+#!@SHELL@
+# Wrapper for ifwatchd(8)
+
+export IN_BACKGROUND=yes
+@PREFIX@@SYSCONFDIR@/init.d/net.$1 --quiet stop