ramips: rt305x: merge duplicated mac address setup
[openwrt.git] / target / linux / ramips / base-files / etc / uci-defaults / network
index cc5600b..65c49e0 100755 (executable)
@@ -91,7 +91,8 @@ ramips_setup_macs()
                ;;
 
        esr-9753 | \
-       nbg-419n)
+       nbg-419n | \
+       wcr-150gn)
                 lan_mac=$(ramips_get_mac_binary factory 4)
                 wan_mac=$(ramips_get_mac_binary factory 40)
                ;;
@@ -106,9 +107,9 @@ ramips_setup_macs()
                 wan_mac=$(ramips_get_mac_binary factory 46)
                ;;
 
-       wcr-150gn)
-                lan_mac=$(ramips_get_mac_binary factory 4)
-                wan_mac=$(ramips_get_mac_binary factory 40)
+       wl341v3)
+               lan_mac=$(ramips_get_mac_binary board-nvram 65440)
+               wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 1)
                ;;
 
        wli-tx4-ag300n)
This page took 0.026896 seconds and 4 git commands to generate.