diff --git a/openwrt/freewtp/files/wtp.init b/openwrt/freewtp/files/wtp.init index 3b686e5..0eb13a5 100755 --- a/openwrt/freewtp/files/wtp.init +++ b/openwrt/freewtp/files/wtp.init @@ -279,6 +279,10 @@ wtp_uci_conf() { wtp_gen_conf > /tmp/etc/wtp.conf } +service_triggers() { + procd_add_reload_trigger wtp +} + start_service() { [ -e /tmp/etc/wtp.conf ] && rm /tmp/etc/wtp.conf config_load wtp