summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/netkit-rwho/files/netkit-rwho-0.17-rc')
-rw-r--r--net-misc/netkit-rwho/files/netkit-rwho-0.17-rc17
1 files changed, 17 insertions, 0 deletions
diff --git a/net-misc/netkit-rwho/files/netkit-rwho-0.17-rc b/net-misc/netkit-rwho/files/netkit-rwho-0.17-rc
new file mode 100644
index 000000000000..480adc98e8b1
--- /dev/null
+++ b/net-misc/netkit-rwho/files/netkit-rwho-0.17-rc
@@ -0,0 +1,17 @@
+#!/sbin/runscript
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting rwhod"
+ /sbin/start-stop-daemon --start --quiet --exec /usr/sbin/rwhod -- $RWHOD_OPTIONS
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping rwhod"
+ /sbin/start-stop-daemon --stop --quiet --name rwhod
+ eend $?
+}