Changeset 41795


Ignore:
Timestamp:
2014-07-21T21:26:54+02:00 (4 years ago)
Author:
blogic
Message:

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>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/base-files/etc/uci-defaults/02_network

    r41788 r41795  
    241241        ucidef_add_switch_vlan "switch0" "1" "0t 1 2 3 4" 
    242242        ucidef_add_switch_vlan "switch0" "2" "0t 5" 
    243         mac=$(mtd_get_mac_ascii nvram "^wan_mac") 
     243        mac=$(mtd_get_mac_ascii nvram "wan_mac") 
    244244        [ -n "$mac" ] && ucidef_set_interface_macaddr "wan" "$mac" 
    245245        ;; 
Note: See TracChangeset for help on using the changeset viewer.