2
0
forked from Ivasoft/openwrt

/lib/functions.sh: move rarely used mtd and macaddr related functions to /lib/functions/system.sh

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40411
This commit is contained in:
Felix Fietkau
2014-04-07 10:29:47 +00:00
parent e700dcaf04
commit 4a9ea80ef0
8 changed files with 126 additions and 138 deletions

View 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)