summaryrefslogtreecommitdiff
path: root/package/base-files/files
diff options
context:
space:
mode:
authorMichael Büsch <mb@bu3sch.de>2011-02-20 22:40:47 +0000
committerMichael Büsch <mb@bu3sch.de>2011-02-20 22:40:47 +0000
commite6100a161b59a676d12ecc8d04568f2dbff1f012 (patch)
tree90b6492aaebb8ae60eae54399ea4cc3b957ba167 /package/base-files/files
parent16a300ea6623b0d54551585cd65675c265bcf299 (diff)
downloadmtk-20170518-e6100a161b59a676d12ecc8d04568f2dbff1f012.zip
mtk-20170518-e6100a161b59a676d12ecc8d04568f2dbff1f012.tar.gz
mtk-20170518-e6100a161b59a676d12ecc8d04568f2dbff1f012.tar.bz2
boot.sh: Tabs are used for indent. Also use tabs in jffs2_ready()
SVN-Revision: 25635
Diffstat (limited to 'package/base-files/files')
-rw-r--r--package/base-files/files/lib/functions/boot.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/base-files/files/lib/functions/boot.sh b/package/base-files/files/lib/functions/boot.sh
index a883241..a4ec7be 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() { # <new_root> <old_root>