diff options
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac')
-rw-r--r-- | target/linux/ar71xx/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac | 24 |
1 files changed, 0 insertions, 24 deletions
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 index 2a06b7d07b..0000000000 --- a/target/linux/ar71xx/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac +++ /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 - |