summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2023-03-18 04:31:40 +0100
committerDavid Bauer <mail@david-bauer.net>2023-03-20 03:10:36 +0100
commitaa4a9058fbf4d2ca7ef3af9ebb5bbec896625e93 (patch)
tree93a4a893c7358957bfd73b5ba4b1e70a80d37258 /target
parentfa168f521a4b1b0655fd44f38837ea3878aa3ecc (diff)
downloadopenwrt-aa4a9058fbf4d2ca7ef3af9ebb5bbec896625e93.tar.gz
openwrt-aa4a9058fbf4d2ca7ef3af9ebb5bbec896625e93.tar.bz2
openwrt-aa4a9058fbf4d2ca7ef3af9ebb5bbec896625e93.zip
mpc85xx: remove Watchguard T10 MAC override
As the mac-address readout never worked, the mac-address fillout by the bootloader is sufficient. Remove the readout for the Watchguard T10 then. Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'target')
-rw-r--r--target/linux/mpc85xx/base-files/lib/preinit/10_fix_eth_mac.sh5
1 files changed, 0 insertions, 5 deletions
diff --git a/target/linux/mpc85xx/base-files/lib/preinit/10_fix_eth_mac.sh b/target/linux/mpc85xx/base-files/lib/preinit/10_fix_eth_mac.sh
index 0d9058420b..462a9e9dd8 100644
--- a/target/linux/mpc85xx/base-files/lib/preinit/10_fix_eth_mac.sh
+++ b/target/linux/mpc85xx/base-files/lib/preinit/10_fix_eth_mac.sh
@@ -7,11 +7,6 @@ preinit_set_mac_address() {
ip link set dev eth0 address $(mtd_get_mac_ascii cfg1 ethaddr)
ip link set dev eth1 address $(mtd_get_mac_ascii cfg1 eth1addr)
;;
- watchguard,firebox-t10)
- ip link set dev eth0 address "$(mtd_get_mac_text "device_id" 0x1830)"
- ip link set dev eth1 address "$(mtd_get_mac_text "device_id" 0x1844)"
- ip link set dev eth2 address "$(mtd_get_mac_text "device_id" 0x1858)"
- ;;
esac
}