projects
/
openwrt
/
staging
/
rmilecki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16a300e
)
boot.sh: Tabs are used for indent. Also use tabs in jffs2_ready()
author
Michael Büsch
<mb@bu3sch.de>
Sun, 20 Feb 2011 22:40:47 +0000
(22:40 +0000)
committer
Michael Büsch
<mb@bu3sch.de>
Sun, 20 Feb 2011 22:40:47 +0000
(22:40 +0000)
SVN-Revision: 25635
package/base-files/files/lib/functions/boot.sh
patch
|
blob
|
history
diff --git
a/package/base-files/files/lib/functions/boot.sh
b/package/base-files/files/lib/functions/boot.sh
index a8832413501bfc949fc30888312c30b7558fe978..a4ec7be5b25918959a0a45244e5d4a1ad4b1da25 100644
(file)
--- a/
package/base-files/files/lib/functions/boot.sh
+++ b/
package/base-files/files/lib/functions/boot.sh
@@
-78,10
+78,10
@@
find_mtd_part() {
}
jffs2_ready () {
- mtdpart="$(find_mtd_part rootfs_data)"
- [ -z "$mtdpart" ] && return 1
- magic=$(hexdump $mtdpart -n 4 -e '4/1 "%02x"')
- [ "$magic" != "deadc0de" ]
+
mtdpart="$(find_mtd_part rootfs_data)"
+
[ -z "$mtdpart" ] && return 1
+
magic=$(hexdump $mtdpart -n 4 -e '4/1 "%02x"')
+
[ "$magic" != "deadc0de" ]
}
dupe() { # <new_root> <old_root>