summaryrefslogtreecommitdiff
path: root/package/base-files/files
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-04-07 09:50:11 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-04-07 09:50:11 +0000
commit3489fabdc6eeea2a276a2a1fb05b9baf4d8de275 (patch)
tree8a6cbe656d2953280ec0ed59a896d8c0c07a57f4 /package/base-files/files
parent108e6e4827ba48c5d36be1e25b6e8b79ab9a8770 (diff)
/lib/functions.sh: remove jffs2_ready()
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40402 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 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() { # <new_root> <old_root>
/bin/mount -o noatime,move /proc $1/proc && \
pivot_root $1 $1$2 && {