X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/287fdd0d38765bf0c49b856801699ccfbc49c8d9..1202b59afa04c92d7a0031740e060a061299d59b:/package/base-files/files/lib/functions/boot.sh diff --git a/package/base-files/files/lib/functions/boot.sh b/package/base-files/files/lib/functions/boot.sh index 66423d9aa..a4ec7be5b 100644 --- a/package/base-files/files/lib/functions/boot.sh +++ b/package/base-files/files/lib/functions/boot.sh @@ -3,7 +3,7 @@ # Copyright (C) 2010 Vertical Communications mount() { - /bin/busybox mount "$@" + /bin/busybox mount -o noatime "$@" } boot_hook_splice_start() { @@ -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() { #