diff options
author | John Crispin <john@openwrt.org> | 2014-07-21 19:26:54 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-07-21 19:26:54 +0000 |
commit | 4f5081c911250613eac666bfc1cc24c99ad762cc (patch) | |
tree | e2b6ae95a22d4e8c4837431eeeec4eba910a4f98 /target/linux/ar71xx/base-files/etc/uci-defaults/02_network | |
parent | 6dd78754124ff6f88d59bbdd53caa22ed5ec656f (diff) | |
download | mtk-20170518-4f5081c911250613eac666bfc1cc24c99ad762cc.zip mtk-20170518-4f5081c911250613eac666bfc1cc24c99ad762cc.tar.gz mtk-20170518-4f5081c911250613eac666bfc1cc24c99ad762cc.tar.bz2 |
ar71xx: fix WAN MAC setup on dir-825-c1
Changeset 38690 broke the WAN MAC setup. Here's the fix.
Signed-off-by: Sebastian Kemper <sebastian_ml <at> gmx.net>
SVN-Revision: 41795
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults/02_network')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/02_network | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network index da7f7d2..2ab1d0b 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network @@ -240,7 +240,7 @@ dir-825-c1) ucidef_add_switch "switch0" "1" "1" ucidef_add_switch_vlan "switch0" "1" "0t 1 2 3 4" ucidef_add_switch_vlan "switch0" "2" "0t 5" - mac=$(mtd_get_mac_ascii nvram "^wan_mac") + mac=$(mtd_get_mac_ascii nvram "wan_mac") [ -n "$mac" ] && ucidef_set_interface_macaddr "wan" "$mac" ;; |