summaryrefslogtreecommitdiff
path: root/openwrt/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
commit893cb473a02fa4e5673c610b914d7389ba711bdf (patch)
treeb51db92d80262be4aad55696c6fc65ff531626d4 /openwrt/package/base-files/default/bin
parentfda33a85fa33896f761a4e239c1ac4a63e775936 (diff)
downloadmtk-20170518-893cb473a02fa4e5673c610b914d7389ba711bdf.zip
mtk-20170518-893cb473a02fa4e5673c610b914d7389ba711bdf.tar.gz
mtk-20170518-893cb473a02fa4e5673c610b914d7389ba711bdf.tar.bz2
fix a bug that prevents the wgt634u from initializing the filesystem properly
SVN-Revision: 3601
Diffstat (limited to 'openwrt/package/base-files/default/bin')
-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 1d9b658..5d3d967 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
}
}