aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mpc85xx/base-files/lib
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mpc85xx/base-files/lib')
-rw-r--r--target/linux/mpc85xx/base-files/lib/preinit/05_set_iface_mac_mcp85xx17
1 files changed, 0 insertions, 17 deletions
diff --git a/target/linux/mpc85xx/base-files/lib/preinit/05_set_iface_mac_mcp85xx b/target/linux/mpc85xx/base-files/lib/preinit/05_set_iface_mac_mcp85xx
deleted file mode 100644
index cecaee86b0..0000000000
--- a/target/linux/mpc85xx/base-files/lib/preinit/05_set_iface_mac_mcp85xx
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-
-. /lib/functions.sh
-. /lib/functions/system.sh
-
-preinit_set_mac_address() {
- case $(board_name) in
- hiveap-330)
- mac_wan=$(mtd_get_mac_binary hw-info 0)
- [ -n "$mac_wan" ] && ifconfig eth0 hw ether "$mac_wan"
- mac_lan=$(macaddr_add $(mtd_get_mac_binary hw-info 0) +1)
- [ -n "$mac_lan" ] && ifconfig eth1 hw ether "$mac_lan"
- ;;
- esac
-}
-
-boot_hook_add preinit_main preinit_set_mac_address