projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ubusd: add an init script
[openwrt.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
}