Initial commit
This commit is contained in:
22
package/system/procd/files/uxc.init
Normal file
22
package/system/procd/files/uxc.init
Normal file
@@ -0,0 +1,22 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
|
||||
START=99
|
||||
USE_PROCD=1
|
||||
NAME=uxc
|
||||
PROG=/sbin/uxc
|
||||
|
||||
start_service() {
|
||||
[ "${__BOOT_UXC}" = "1" ] || return 0
|
||||
procd_open_instance "uxc"
|
||||
procd_set_param command "$PROG" boot
|
||||
procd_close_instance
|
||||
}
|
||||
|
||||
boot() {
|
||||
__BOOT_UXC=1
|
||||
start
|
||||
}
|
||||
|
||||
service_triggers() {
|
||||
procd_add_raw_trigger "mount.add" 3000 /etc/init.d/uxc boot
|
||||
}
|
||||
Reference in New Issue
Block a user