diff --git a/netmode/files/etc/hotplug.d/iface/01-netmode-handler b/netmode/files/etc/hotplug.d/iface/01-netmode-handler index aa1d2f4dd..8f2549e57 100755 --- a/netmode/files/etc/hotplug.d/iface/01-netmode-handler +++ b/netmode/files/etc/hotplug.d/iface/01-netmode-handler @@ -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