projects
/
librecmc
/
librecmc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Upstream refresh for v1.5.0-rc1 : Upstream 19.07 : 4fb6b8c553f692eeb5bcb203e0f8ee8df0...
[librecmc/librecmc.git]
/
scripts
/
ubinize-image.sh
diff --git
a/scripts/ubinize-image.sh
b/scripts/ubinize-image.sh
index 09a00b1898cec141bf99a776eb26697d29fec864..a18d6dc428d1cdc21161c5d414ab24211b2b8d03 100755
(executable)
--- a/
scripts/ubinize-image.sh
+++ b/
scripts/ubinize-image.sh
@@
-9,7
+9,7
@@
outfile=""
err=""
get_magic_word() {
- dd if=$1 bs=2 count=1 2>/dev/null |
hexdump -v -n 2 -e '1/1 "%02x"
'
+ dd if=$1 bs=2 count=1 2>/dev/null |
od -A n -N 2 -t x1 | tr -d '
'
}
is_ubifs() {