aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-07-21 19:26:54 +0000
committerJohn Crispin <blogic@openwrt.org>2014-07-21 19:26:54 +0000
commitb8f1508db6fca6722c9ab3a769d6f72d1c5a17e4 (patch)
tree0f557c230b8704c79f76bc4fa792d01b14b12b65 /target/linux/ar71xx/base-files
parent7912032227f05d2467e01934f792330434ed0e86 (diff)
downloadupstream-b8f1508db6fca6722c9ab3a769d6f72d1c5a17e4.tar.gz
upstream-b8f1508db6fca6722c9ab3a769d6f72d1c5a17e4.tar.bz2
upstream-b8f1508db6fca6722c9ab3a769d6f72d1c5a17e4.zip
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41795 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network2
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 da7f7d2cc2..2ab1d0b636 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"
;;