summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/poffd
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d/poffd')
-rw-r--r--etc/rc.d/poffd17
1 files changed, 17 insertions, 0 deletions
diff --git a/etc/rc.d/poffd b/etc/rc.d/poffd
new file mode 100644
index 0000000..12422c4
--- /dev/null
+++ b/etc/rc.d/poffd
@@ -0,0 +1,17 @@
+#!/bin/sh
+#
+# $NetBSD$
+#
+
+# PROVIDE: poffd
+# REQUIRE: DAEMON
+
+. /etc/rc.subr
+
+name="poffd"
+rcvar=$name
+command="/usr/sbin/${name}"
+start_precmd="test -c /dev/pow0"
+
+load_rc_config $name
+run_rc_command "$1"
OpenPOWER on IntegriCloud