projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix sysupgrade endian issues
[openwrt-10.03/.git]
/
package
/
base-files
/
files
/
lib
/
upgrade
/
common.sh
diff --git
a/package/base-files/files/lib/upgrade/common.sh
b/package/base-files/files/lib/upgrade/common.sh
index 7584b773dd33a750a1415cd60b361166e5d3dacd..f0d0c20b900bd92dfb08f1889adad8b75123fb37 100644
(file)
--- a/
package/base-files/files/lib/upgrade/common.sh
+++ b/
package/base-files/files/lib/upgrade/common.sh
@@
-113,7
+113,7
@@
get_image() {
}
get_magic_word() {
- get_image "$1" | dd bs=2 count=1 2>/dev/null | hexdump
| awk '$2 { print $2
}'
+ get_image "$1" | dd bs=2 count=1 2>/dev/null | hexdump
-C | awk '$2 { print $2 $3
}'
}
refresh_mtd_partitions() {