package/netifd: use new service wrapper
[openwrt/svn-archive/archive.git] / package / ubus / files / ubus.init
1 #!/bin/sh /etc/rc.common
2 START=11
3 PIDFILE=/var/run/ubusd.pid
4
5 start() {
6 start-stop-daemon -S -b -m -p $PIDFILE -x /sbin/ubusd
7 }
8
9 stop() {
10 start-stop-daemon -K -x /sbin/ubusd -p $PIDFILE
11 }