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