diff options
Diffstat (limited to 'target/linux/ar71xx')
-rw-r--r-- | target/linux/ar71xx/base-files/etc/uci-defaults/03_network-vlan-migration | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-vlan-migration b/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-vlan-migration index bea9493c8e..259d240610 100644 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-vlan-migration +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-vlan-migration @@ -3,8 +3,8 @@ # Copyright (C) 2010 OpenWrt.org # -local dev="$(uci -q get network.@switch_vlan[0].device)" -local vlan="$(uci -q get network.@switch_vlan[0].vlan)" +dev="$(uci -q get network.@switch_vlan[0].device)" +vlan="$(uci -q get network.@switch_vlan[0].vlan)" if [ "$dev" = "rtl8366s" ] && [ "$vlan" = 0 ]; then logger -t vlan-migration "VLAN 0 is invalid for RTL8366s, changing to 1" |