projects
/
openwrt
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f2524f
)
/lib/functions.sh: remove jffs2_ready()
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 7 Apr 2014 09:50:11 +0000
(09:50 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 7 Apr 2014 09:50:11 +0000
(09:50 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40402
package/base-files/files/lib/functions.sh
patch
|
blob
|
history
diff --git
a/package/base-files/files/lib/functions.sh
b/package/base-files/files/lib/functions.sh
index 31df7f7764b888c3db993beb14b7b5b286bc5434..e05108c76598750d552a4a2511e74b87aeb1073e 100755
(executable)
--- 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 && {