boot.sh: Tabs are used for indent. Also use tabs in jffs2_ready()

SVN-Revision: 25635
This commit is contained in:
Michael Büsch 2011-02-20 22:40:47 +00:00
parent 16a300ea66
commit e6100a161b

View file

@ -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>