From 9e3ce3f75f2263d61f1af97e9918f4f7af7cb052 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 7 Apr 2014 09:50:11 +0000 Subject: /lib/functions.sh: remove jffs2_ready() Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40402 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/lib/functions.sh | 7 ------- 1 file changed, 7 deletions(-) (limited to 'package/base-files/files/lib') diff --git a/package/base-files/files/lib/functions.sh b/package/base-files/files/lib/functions.sh index 31df7f7764..e05108c765 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() { # /bin/mount -o noatime,move /proc $1/proc && \ pivot_root $1 $1$2 && { -- cgit v1.2.3