Mathias Kresin
64fef8f901
base-files: add function to get binary mac from file
...
Add a fucntion to get the a binary mac address from file. Use the new
function for mtd_get_mac_binary() to limit duplicate code.
Signed-off-by: Mathias Kresin <dev@kresin.me>
2018-03-14 19:04:52 +01:00
Felix Fietkau
0936f5b0e0
base-files: cleanup mtd_get_mac_binary hexdump
...
Remove usage of dd, as per request from Yousong Zhou.
<https://lists.openwrt.org/pipermail/openwrt-devel/2015-December/037743.html >
Signed-off-by: Chris R Blake <chrisrblake93@gmail.com>
SVN-Revision: 47949
2015-12-19 11:28:42 +00:00
Felix Fietkau
c74a690661
ar71xx: scan nand ubi partition for ath9k eeprom files
...
The MR18 stores the ath9k eeprom values on the NAND.
This patch makes it possible to retrieve the images
from there.
Signed-off-by: Chris R Blake <chrisrblake93@gmail.com>
SVN-Revision: 47948
2015-12-19 11:28:36 +00:00
Gabor Juhos
69abf630cf
base-files: strip quotes from the MAC address in macaddr_canonicalize()
...
Extracted from http://patchwork.openwrt.org/patch/5716/
Signed-off-by: Forest Crossman <cyrozap@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41639
2014-07-14 10:25:49 +00:00
Felix Fietkau
dd58e15b84
base-files: add back missing function for find_mtd_part to /lib/functions.sh ( fixes #15496 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40426
2014-04-08 21:17:49 +00:00
Felix Fietkau
4a9ea80ef0
/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
2014-04-07 10:29:47 +00:00