projects
/
openwrt
/
svn-archive
/
archive.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/svn-archive/archive.git]
/
openwrt
/
package
/
base-files
/
default
/
bin
/
firstboot
diff --git
a/openwrt/package/base-files/default/bin/firstboot
b/openwrt/package/base-files/default/bin/firstboot
index 1d9b658b69960bc6906175797011ba824839da6b..5d3d9677ee1304e49dd1067d882d3f9983c5a80e 100755
(executable)
--- a/
openwrt/package/base-files/default/bin/firstboot
+++ b/
openwrt/package/base-files/default/bin/firstboot
@@
-37,6
+37,8
@@
pivot() { # <new_root> <old_root>
pivot_root $1 $1$2 && {
mount -o move $2/dev /dev
mount -o move $2/tmp /tmp
+ mount -o move $2/sys /sys
+ return 0
}
}