inteno-netmodes: reload questd network after changing mode

This commit is contained in:
Sukru Senli 2017-07-04 13:49:19 +02:00
parent acc3be969d
commit 62797342b9

View file

@ -68,6 +68,7 @@ case "$ACTION" in
uci commit network
ubus call network reload
ping -c 1 -w 10 $defroute >/dev/null 2>&1 || killall -USR1 udhcpc
ubus call router.network reload
ubus call leds set '{"state" : "normal"}'
;;
remove|unregister)
@ -92,6 +93,7 @@ case "$ACTION" in
wifi reload nodat
killall -USR1 udhcpc
}
ubus call router.network reload
ubus call leds set '{"state" : "normal"}'
;;
esac