mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-07 01:41:25 +01:00
inteno-netmodes: reload questd network after changing mode
This commit is contained in:
parent
acc3be969d
commit
62797342b9
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue