we already have a get_magic_long() in common.sh for sysupgrade, don't break it
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 41628
This commit is contained in:
parent
26b39cc580
commit
2ddcf5dd8a
1 changed files with 2 additions and 2 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue