summaryrefslogtreecommitdiffstats
path: root/openwrt/package/base-files/default/bin/firstboot
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-04-08 21:11:49 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-04-08 21:11:49 +0000
commit1e0479ad19b7ff1ac1fa7a835d8f85f7157e786a (patch)
tree65944f2325e7625de3d5e40e1d32893c8c17abfb /openwrt/package/base-files/default/bin/firstboot
parent30aba41404a0f5689f83a7c73aab1bc8c5bf7f23 (diff)
fix a bug that prevents the wgt634u from initializing the filesystem properly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3601 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/base-files/default/bin/firstboot')
-rwxr-xr-xopenwrt/package/base-files/default/bin/firstboot2
1 files changed, 2 insertions, 0 deletions
diff --git a/openwrt/package/base-files/default/bin/firstboot b/openwrt/package/base-files/default/bin/firstboot
index 1d9b658b6..5d3d9677e 100755
--- 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
}
}