mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 17:01:14 +00:00
19 lines
246 B
Plaintext
19 lines
246 B
Plaintext
|
#!/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
|
||
|
}
|