diff options
Diffstat (limited to 'package/system/ubus/files/ubus.init')
-rwxr-xr-x | package/system/ubus/files/ubus.init | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/package/system/ubus/files/ubus.init b/package/system/ubus/files/ubus.init new file mode 100755 index 0000000..70fe21c --- /dev/null +++ b/package/system/ubus/files/ubus.init @@ -0,0 +1,14 @@ +#!/bin/sh /etc/rc.common + +START=11 + +SERVICE_DAEMONIZE=1 +SERVICE_WRITE_PID=1 + +start() { + service_start /sbin/ubusd +} + +stop() { + service_stop /sbin/ubusd +} |