summaryrefslogtreecommitdiffstats
path: root/package/base-files/default/bin/firstboot
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/default/bin/firstboot')
-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 1d9b658b6..5d3d9677e 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
}
}