mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
K99umount has been moved to K90umount as of OpenWrt 19.07, to make room for init scripts that may need to run after umount. We need to stop all services before unmounting the filesystems. The stop() function is dead code when procd is being used and can be removed.
23 lines
324 B
Bash
Executable file
23 lines
324 B
Bash
Executable file
#!/bin/sh /etc/rc.common
|
|
|
|
START=14
|
|
STOP=89
|
|
|
|
USE_PROCD=1
|
|
NAME=questd
|
|
|
|
start_service() {
|
|
procd_open_instance
|
|
procd_set_param command "/sbin/questd"
|
|
procd_set_param respawn
|
|
procd_close_instance
|
|
}
|
|
|
|
service_triggers()
|
|
{
|
|
procd_add_reload_trigger network wireless
|
|
}
|
|
|
|
reload_service() {
|
|
ubus -t 5 call router.network reload
|
|
}
|