projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix default lan_ifnames for wrt54g v1.x
[openwrt.git]
/
openwrt
/
package
/
base-files
/
default
/
sbin
/
mount_root
diff --git
a/openwrt/package/base-files/default/sbin/mount_root
b/openwrt/package/base-files/default/sbin/mount_root
index
ae78ee4
..
32a6ee5
100755
(executable)
--- a/
openwrt/package/base-files/default/sbin/mount_root
+++ b/
openwrt/package/base-files/default/sbin/mount_root
@@
-4,7
+4,7
@@
if [ "$1" != "failsafe" ]; then
mount | grep jffs2 >&-
if [ $? = 0 ] ; then
if [ $(cat /proc/mtd | wc -l) = 6 ]; then
- echo 5 > /proc/sys/diag
+
[ -f /proc/sys/diag ] &&
echo 5 > /proc/sys/diag
mtd unlock linux
mtd erase OpenWrt
jffs2root --move
This page took
0.026156 seconds
and
4
git commands to generate.