From: Michael Büsch Date: Sun, 20 Feb 2011 22:40:47 +0000 (+0000) Subject: boot.sh: Tabs are used for indent. Also use tabs in jffs2_ready() X-Git-Tag: reboot~17496 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e6100a161b59a676d12ecc8d04568f2dbff1f012;p=oweals%2Fopenwrt.git boot.sh: Tabs are used for indent. Also use tabs in jffs2_ready() SVN-Revision: 25635 --- diff --git a/package/base-files/files/lib/functions/boot.sh b/package/base-files/files/lib/functions/boot.sh index a883241350..a4ec7be5b2 100644 --- 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() { #