inteno-netmodes: netmode-conf: sync after restoring config

This commit is contained in:
Sukru Senli 2018-01-20 12:59:43 +01:00
parent d0c84e2ab3
commit 5f57a90aee

View file

@ -87,6 +87,7 @@ restore() {
uci set juci.juci.homepage='netmode-wizard' uci set juci.juci.homepage='netmode-wizard'
uci commit juci uci commit juci
cp $TMPPATH/* /etc/config/ cp $TMPPATH/* /etc/config/
sync
uci set netmode.setup.curmode=$CURMODE uci set netmode.setup.curmode=$CURMODE
uci commit netmode uci commit netmode
ubus call network reload ubus call network reload