Author: kaloz
Date: 2014-07-13 22:51:17 +0200 (Sun, 13 Jul 2014)
New Revision: 41628

Modified:
   trunk/package/system/procd/files/nand.sh
Log:
[procd]: we already have a get_magic_long() in common.sh for sysupgrade, don't 
break it

Signed-off-by: Imre Kaloz <[email protected]>



Modified: trunk/package/system/procd/files/nand.sh
===================================================================
--- trunk/package/system/procd/files/nand.sh    2014-07-13 19:44:00 UTC (rev 
41627)
+++ trunk/package/system/procd/files/nand.sh    2014-07-13 20:51:17 UTC (rev 
41628)
@@ -36,7 +36,7 @@
        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() {
-       identify_magic $(get_magic_long "$1" "${2:-0}")
+       identify_magic $(nand_get_magic_long "$1" "${2:-0}")
 }
 
 identify_tar() {
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to