netmode: if automode set to 0, do not change mode depending on ipaddr type

This commit is contained in:
Sukru Senli 2019-03-11 15:20:25 +01:00
parent e3eedf90e8
commit a450ee83c5

View file

@ -2,6 +2,9 @@
[ "$INTERFACE" != "wan" ] && exit
automode="$(uci -q get netmode.setup.automode)"
[ "$automode" == "0" ] && exit
. /lib/functions.sh
. /lib/functions/network.sh
. /lib/functions/netmode.sh