inteno-netmodes: fixed bug

This commit is contained in:
Reidar Cederqvist 2017-04-24 17:41:22 +02:00
parent 7fc6da3a66
commit 7f33ffbdac

View file

@ -185,7 +185,6 @@ switch_netmode() {
uci commit netmode
fi
config_get conf $curmode conf
[ -f "/etc/netmode/$conf" ] || return
cp /etc/netmodes/$conf/* /etc/config/
rm -f /etc/config/DETAILS
sync