projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
package/ubus: use new service wrapper
[openwrt.git]
/
package
/
ubus
/
files
/
ubus.init
diff --git
a/package/ubus/files/ubus.init
b/package/ubus/files/ubus.init
index
7fcf106
..
70fe21c
100755
(executable)
--- a/
package/ubus/files/ubus.init
+++ b/
package/ubus/files/ubus.init
@@
-1,11
+1,14
@@
#!/bin/sh /etc/rc.common
#!/bin/sh /etc/rc.common
+
START=11
START=11
-PIDFILE=/var/run/ubusd.pid
+
+SERVICE_DAEMONIZE=1
+SERVICE_WRITE_PID=1
start() {
start() {
- s
tart-stop-daemon -S -b -m -p $PIDFILE -x
/sbin/ubusd
+ s
ervice_start
/sbin/ubusd
}
stop() {
}
stop() {
- s
tart-stop-daemon -K -x /sbin/ubusd -p $PIDFILE
+ s
ervice_stop /sbin/ubusd
}
}
This page took
0.034202 seconds
and
4
git commands to generate.