projects
/
oweals
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: rework GainStrong devices support
[oweals/openwrt.git]
/
target
/
linux
/
ar71xx
/
base-files
/
etc
/
uci-defaults
/
03_network-vlan-migration
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
old mode 100755
(executable)
new mode 100644
(file)
index
bea9493
..
259d240
--- 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
#
# 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"
if [ "$dev" = "rtl8366s" ] && [ "$vlan" = 0 ]; then
logger -t vlan-migration "VLAN 0 is invalid for RTL8366s, changing to 1"