mirror of https://github.com/aredn/aredn.git
bugfix: wan interface fails to function on UBNT NS XM devices
The WAN network fails to be configured correctly on UBNT NS XM devices.
This commit is contained in:
parent
e316dbc598
commit
9967d0f978
|
@ -57,7 +57,7 @@ meshphy="phy${meshif#wlan}"
|
|||
|
||||
wan_intf=`cat /etc/board.json|jsonfilter -e '@.network.wan.ifname'`
|
||||
uci -c ${dropdir} -q batch > /dev/null <<-EOF
|
||||
set network.wan.ifname=$wan_intf
|
||||
set network.wan.ifname="$wan_intf"
|
||||
EOF
|
||||
uci -c ${dropdir} -q commit network
|
||||
|
||||
|
|
Loading…
Reference in New Issue