summaryrefslogtreecommitdiffstats
path: root/package/network/ipv6/6distributed/files/6distributed.init
diff options
context:
space:
mode:
authorcyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-11-29 20:14:18 +0000
committercyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-11-29 20:14:18 +0000
commit5d61365efcd445f8d7c8218e8dfdf97879272842 (patch)
treeb7c727c64272fe7aa0f253f8a06c78b51e6ee23a /package/network/ipv6/6distributed/files/6distributed.init
parent51e67fc835c4861a5ed19aceb71fdfcf051b0ea8 (diff)
6distributed: add local IPv6 prefix distributor
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34420 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 000000000..c2dfd1cce
--- /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
+}