boot.sh: Tabs are used for indent. Also use tabs in jffs2_ready()
authorMichael Büsch <mb@bu3sch.de>
Sun, 20 Feb 2011 22:40:47 +0000 (22:40 +0000)
committerMichael 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

index a8832413501bfc949fc30888312c30b7558fe978..a4ec7be5b25918959a0a45244e5d4a1ad4b1da25 100644 (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>