mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
boot.sh: Tabs are used for indent. Also use tabs in jffs2_ready()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25635 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -78,10 +78,10 @@ find_mtd_part() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
jffs2_ready () {
|
jffs2_ready () {
|
||||||
mtdpart="$(find_mtd_part rootfs_data)"
|
mtdpart="$(find_mtd_part rootfs_data)"
|
||||||
[ -z "$mtdpart" ] && return 1
|
[ -z "$mtdpart" ] && return 1
|
||||||
magic=$(hexdump $mtdpart -n 4 -e '4/1 "%02x"')
|
magic=$(hexdump $mtdpart -n 4 -e '4/1 "%02x"')
|
||||||
[ "$magic" != "deadc0de" ]
|
[ "$magic" != "deadc0de" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
dupe() { # <new_root> <old_root>
|
dupe() { # <new_root> <old_root>
|
||||||
|
|||||||
Reference in New Issue
Block a user