/lib/functions.sh: move rarely used mtd and macaddr related functions to /lib/functio...
[openwrt/svn-archive/archive.git] / target / linux / mpc85xx / base-files / etc / hotplug.d / firmware / 10-ath9k-eeprom
index a6f9c918fec8d83e6187f988eadd1cc98020dae7..0baec28859da1f5fc9b1f4855f97289e192bea71 100644 (file)
@@ -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)