aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/default/bin
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2006-04-08 21:11:49 +0000
committerMike Baker <mbm@openwrt.org>2006-04-08 21:11:49 +0000
commitde5d73dd1e380aeea3dbaa67fe9dc348f2a5281a (patch)
tree08c1a3c0782cac924079e399290e61d450510938 /package/base-files/default/bin
parent376c3683543c73c5dfa9f9f23e96c6c102ac65fd (diff)
downloadupstream-de5d73dd1e380aeea3dbaa67fe9dc348f2a5281a.tar.gz
upstream-de5d73dd1e380aeea3dbaa67fe9dc348f2a5281a.tar.bz2
upstream-de5d73dd1e380aeea3dbaa67fe9dc348f2a5281a.zip
fix a bug that prevents the wgt634u from initializing the filesystem properly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3601 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/default/bin')
-rwxr-xr-xpackage/base-files/default/bin/firstboot2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/base-files/default/bin/firstboot b/package/base-files/default/bin/firstboot
index 1d9b658b69..5d3d9677ee 100755
--- a/package/base-files/default/bin/firstboot
+++ b/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
}
}