mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-06 01:12:10 +01:00
netmode: if automode set to 0, do not change mode depending on ipaddr type
This commit is contained in:
parent
e3eedf90e8
commit
a450ee83c5
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue