Fixes:
https://github.com/openwrt/luci/issues/5139
Signed-off-by: Nick Hainke <vincent@systemli.org>
}
service_triggers() {
+ # reload if config changed via uci
+ procd_add_reload_trigger "olsrd"
+
# restart on ifup interface events
for n in $(olsrd_list_configured_interfaces $OLSRD); do
procd_add_reload_interface_trigger $n /etc/init.d/$OLSRD reload
}
service_triggers() {
+ # reload if config changed via uci
+ procd_add_reload_trigger "olsrd6"
+
# restart on ifup interface events
for n in $(olsrd_list_configured_interfaces $OLSRD); do
procd_add_reload_interface_trigger $n /etc/init.d/$OLSRD reload