k2t_get_mac "lan_mac" > /sys${DEVPATH}/macaddress
;;
trendnet,tew-823dru)
- # set the 2.4G interface mac address to LAN MAC
- [ "$PHYNBR" -eq 1 ] && \
- mtd_get_mac_text mac 4 > /sys${DEVPATH}/macaddress
- # set the 5G interface mac address to WAN MAC + 1
- [ "$PHYNBR" -eq 0 ] && \
- macaddr_add "$(mtd_get_mac_text mac 0x18)" 1 > /sys${DEVPATH}/macaddress
- ;;
+ # set the 2.4G interface mac address to LAN MAC
+ [ "$PHYNBR" -eq 1 ] && \
+ mtd_get_mac_text mac 4 > /sys${DEVPATH}/macaddress
+ # set the 5G interface mac address to WAN MAC + 1
+ [ "$PHYNBR" -eq 0 ] && \
+ macaddr_add "$(mtd_get_mac_text mac 0x18)" 1 > /sys${DEVPATH}/macaddress
+ ;;
*)
;;
esac
-