aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/ipv6/6distributed/files/6distributed.init
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/ipv6/6distributed/files/6distributed.init')
-rwxr-xr-xpackage/network/ipv6/6distributed/files/6distributed.init18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/network/ipv6/6distributed/files/6distributed.init b/package/network/ipv6/6distributed/files/6distributed.init
new file mode 100755
index 0000000000..c2dfd1ccef
--- /dev/null
+++ b/package/network/ipv6/6distributed/files/6distributed.init
@@ -0,0 +1,18 @@
+#!/bin/sh /etc/rc.common
+
+START=15
+
+SERVICE_DAEMONIZE=1
+SERVICE_WRITE_PID=1
+SERVICE_PID_FILE=/var/run/6distributed.pid
+DISTRIBUTED_BIN=/usr/sbin/6distributed
+
+start()
+{
+ service_start $DISTRIBUTED_BIN
+}
+
+stop()
+{
+ service_stop $DISTRIBUTED_BIN
+}