package: add reload-trigger to init script
This commit is contained in:
parent
cd7e97dfce
commit
ec332d3e41
@ -279,6 +279,10 @@ wtp_uci_conf() {
|
|||||||
wtp_gen_conf > /tmp/etc/wtp.conf
|
wtp_gen_conf > /tmp/etc/wtp.conf
|
||||||
}
|
}
|
||||||
|
|
||||||
|
service_triggers() {
|
||||||
|
procd_add_reload_trigger wtp
|
||||||
|
}
|
||||||
|
|
||||||
start_service() {
|
start_service() {
|
||||||
[ -e /tmp/etc/wtp.conf ] && rm /tmp/etc/wtp.conf
|
[ -e /tmp/etc/wtp.conf ] && rm /tmp/etc/wtp.conf
|
||||||
config_load wtp
|
config_load wtp
|
||||||
|
Loading…
Reference in New Issue
Block a user