projects
/
openwrt
/
staging
/
noltari.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26b39cc
)
we already have a get_magic_long() in common.sh for sysupgrade, don't break it
author
Imre Kaloz
<kaloz@openwrt.org>
Sun, 13 Jul 2014 20:51:17 +0000
(20:51 +0000)
committer
Imre Kaloz
<kaloz@openwrt.org>
Sun, 13 Jul 2014 20:51:17 +0000
(20:51 +0000)
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 41628
package/system/procd/files/nand.sh
patch
|
blob
|
history
diff --git
a/package/system/procd/files/nand.sh
b/package/system/procd/files/nand.sh
index 032f02a47e67087f53a1125df501d0556b6a661b..5f307d09b0bc422a5d15f601c0629185e46de514 100644
(file)
--- a/
package/system/procd/files/nand.sh
+++ b/
package/system/procd/files/nand.sh
@@
-36,7
+36,7
@@
nand_find_ubi() {
done
}
-get_magic_long() {
+
nand_
get_magic_long() {
dd if="$1" skip=$2 bs=4 count=1 2>/dev/null | hexdump -v -n 4 -e '1/1 "%02x"'
}
@@
-70,7
+70,7
@@
identify_magic() {
identify() {
- identify_magic $(get_magic_long "$1" "${2:-0}")
+ identify_magic $(
nand_
get_magic_long "$1" "${2:-0}")
}
identify_tar() {