summaryrefslogtreecommitdiffstats
path: root/package/ubus/files/ubus.init
blob: 7fcf106b972036316628e9fd6501f660b363fb91 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/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
}