diff options
author | cyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-11-29 20:14:18 +0000 |
---|---|---|
committer | cyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-11-29 20:14:18 +0000 |
commit | 5d61365efcd445f8d7c8218e8dfdf97879272842 (patch) | |
tree | b7c727c64272fe7aa0f253f8a06c78b51e6ee23a /package/network/ipv6/6distributed/files/6distributed.init | |
parent | 51e67fc835c4861a5ed19aceb71fdfcf051b0ea8 (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-x | package/network/ipv6/6distributed/files/6distributed.init | 18 |
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 +} |