ar71xx: drop target
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / etc / hotplug.d / ieee80211 / 10_fix_wifi_mac
diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac b/target/linux/ar71xx/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac
deleted file mode 100644 (file)
index 2a06b7d..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/ash
-
-[ "$ACTION" == "add" ] || exit 0
-
-PHYNBR=${DEVPATH##*/phy}
-
-[ -n $PHYNBR ] || exit 0
-
-. /lib/functions.sh
-. /lib/functions/system.sh
-
-board=$(board_name)
-
-case "$board" in
-       archer-c58-v1|\
-       archer-c59-v1|\
-       archer-c59-v2|\
-       archer-c60-v1)
-               echo $(macaddr_add $(mtd_get_mac_binary mac 0x8)  $(($PHYNBR - 1)) ) > /sys${DEVPATH}/macaddress
-               ;;
-       *)
-               ;;
-esac
-