aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib/functions/boot.sh
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
commit712d16b7c5e4016d7f8d908574fb540ef7d1766c (patch)
tree43de1a6a69ec579da870810c4ff2cd0909b46f6d /package/base-files/files/lib/functions/boot.sh
parent7897ae04f7a3aedc71994a1a8dd2f523a85ec5d1 (diff)
downloadupstream-712d16b7c5e4016d7f8d908574fb540ef7d1766c.tar.gz
upstream-712d16b7c5e4016d7f8d908574fb540ef7d1766c.tar.bz2
upstream-712d16b7c5e4016d7f8d908574fb540ef7d1766c.zip
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
Diffstat (limited to 'package/base-files/files/lib/functions/boot.sh')
-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 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() { # <new_root> <old_root>