summaryrefslogtreecommitdiff
path: root/package/base-files/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-04-07 09:50:11 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-04-07 09:50:11 +0000
commit1d763171bf7385b2b06f1657bb031bd0212516de (patch)
treea31687d8ca6dc82fabf60d88581f4266888dc9c8 /package/base-files/files
parent0f2524f47344f7831453e04bee81b145cd12a9fc (diff)
downloadmtk-20170518-1d763171bf7385b2b06f1657bb031bd0212516de.zip
mtk-20170518-1d763171bf7385b2b06f1657bb031bd0212516de.tar.gz
mtk-20170518-1d763171bf7385b2b06f1657bb031bd0212516de.tar.bz2
/lib/functions.sh: remove jffs2_ready()
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40402
Diffstat (limited to 'package/base-files/files')
-rwxr-xr-xpackage/base-files/files/lib/functions.sh7
1 files changed, 0 insertions, 7 deletions
diff --git a/package/base-files/files/lib/functions.sh b/package/base-files/files/lib/functions.sh
index 31df7f7..e05108c 100755
--- a/package/base-files/files/lib/functions.sh
+++ b/package/base-files/files/lib/functions.sh
@@ -533,13 +533,6 @@ boot_run_hook() {
done
}
-jffs2_ready() {
- mtdpart="$(find_mtd_part rootfs_data)"
- [ -z "$mtdpart" ] && return 1
- magic=$(hexdump $mtdpart -n 4 -e '4/1 "%02x"')
- [ "$magic" != "deadc0de" ]
-}
-
pivot() { # <new_root> <old_root>
/bin/mount -o noatime,move /proc $1/proc && \
pivot_root $1 $1$2 && {