bcm63xx: add initial support for bcm6368 boards
[openwrt.git] / package / ubus / files / ubus.init
index 7fcf106..70fe21c 100755 (executable)
@@ -1,11 +1,14 @@
 #!/bin/sh /etc/rc.common
+
 START=11
-PIDFILE=/var/run/ubusd.pid
+
+SERVICE_DAEMONIZE=1
+SERVICE_WRITE_PID=1
 
 start() {
-       start-stop-daemon -S -b -m -p $PIDFILE -x /sbin/ubusd
+       service_start /sbin/ubusd
 }
 
 stop() {
-       start-stop-daemon -K -x /sbin/ubusd -p $PIDFILE
+       service_stop /sbin/ubusd
 }
This page took 0.022262 seconds and 4 git commands to generate.