diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-04-07 10:29:47 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-04-07 10:29:47 +0000 |
commit | 8ce376a52465de104db6e629ede05d859d1bf1df (patch) | |
tree | 9ac3f53bf816c4cb89e66aa8e57a8ae92f716333 /target/linux/mpc85xx | |
parent | 79be8946a780f1c3fb40bdc0959c75709d33b9b9 (diff) | |
download | upstream-8ce376a52465de104db6e629ede05d859d1bf1df.tar.gz upstream-8ce376a52465de104db6e629ede05d859d1bf1df.tar.bz2 upstream-8ce376a52465de104db6e629ede05d859d1bf1df.zip |
/lib/functions.sh: move rarely used mtd and macaddr related functions to /lib/functions/system.sh
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40411 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/mpc85xx')
-rw-r--r-- | target/linux/mpc85xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom | 2 |
1 files changed, 2 insertions, 0 deletions
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) |