1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-04 09:42:49 +02:00
openwrt-xburst/package/ubus/files/ubus.init
nbd 1981c3be16 ubusd: add an init script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-20 15:01:12 +00:00

12 lines
190 B
Bash
Executable File

#!/bin/sh /etc/rc.common
START=11
PIDFILE=/var/run/ubusd.pid
start() {
start-stop-daemon -S -b -m -p $PIDFILE -x /sbin/ubusd
}
stop() {
start-stop-daemon -K -x /sbin/ubusd -p $PIDFILE
}