ar71xx: fix WAN MAC setup on dir-825-c1
[openwrt.git] / target / linux / ar71xx / base-files / etc / uci-defaults / 02_network
index da7f7d2..2ab1d0b 100755 (executable)
@@ -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"
        ;;