From 4a9ea80ef06472204b66ab037179455a47a98c9e Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 7 Apr 2014 10:29:47 +0000 Subject: /lib/functions.sh: move rarely used mtd and macaddr related functions to /lib/functions/system.sh Signed-off-by: Felix Fietkau SVN-Revision: 40411 --- target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom | 1 + target/linux/mpc85xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom | 2 ++ 2 files changed, 3 insertions(+) (limited to 'target') diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom index fa4b98c1c1..ce2392205b 100644 --- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom +++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom @@ -31,6 +31,7 @@ ath9k_patch_firmware_mac() { . /lib/ar71xx.sh . /lib/functions.sh +. /lib/functions/system.sh board=$(ar71xx_board_name) diff --git a/target/linux/mpc85xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom b/target/linux/mpc85xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom index a6f9c918fe..0baec28859 100644 --- a/target/linux/mpc85xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom +++ b/target/linux/mpc85xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom @@ -14,6 +14,7 @@ ath9k_eeprom_extract() { local mtd . /lib/functions.sh + . /lib/functions/system.sh mtd=$(find_mtd_chardev $part) [ -n "$mtd" ] || \ @@ -29,6 +30,7 @@ tpl_set_wireless_mac() local mac . /lib/functions.sh + . /lib/functions/system.sh mac=$(mtd_get_mac_binary u-boot 326656) mac=$(macaddr_add $mac $offset) -- cgit v1.2.3