projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix a bug that prevents the wgt634u from initializing the filesystem properly
[openwrt.git]
/
package
/
base-files
/
default
/
sbin
/
mount_root
diff --git
a/package/base-files/default/sbin/mount_root
b/package/base-files/default/sbin/mount_root
index
38252e8
..
88a836c
100755
(executable)
--- a/
package/base-files/default/sbin/mount_root
+++ b/
package/base-files/default/sbin/mount_root
@@
-22,9
+22,13
@@
if [ "$1" != "failsafe" ]; then
. /bin/firstboot
is_dirty
[ $? != 0 ] && {
- mount /dev/mtdblock/4 /jffs
+ echo "switching to jffs2"
+ mount /dev/mtdblock/4 /jffs -t jffs2
pivot /jffs /rom
- } || ramoverlay
+ } || {
+ echo "jffs2 unusable; using ramdisk"
+ ramoverlay
+ }
fi
fi
This page took
0.024205 seconds
and
4
git commands to generate.