Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/hakchi2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mods/mod_hakchi/sbin/init')
-rwxr-xr-xmods/mod_hakchi/sbin/init4
1 files changed, 2 insertions, 2 deletions
diff --git a/mods/mod_hakchi/sbin/init b/mods/mod_hakchi/sbin/init
index 156c02ae..1bb0b47a 100755
--- a/mods/mod_hakchi/sbin/init
+++ b/mods/mod_hakchi/sbin/init
@@ -34,6 +34,6 @@ fi
[ -f "/hakchi/init" ] && sh "/hakchi/init"
/bin/mount --move /dev /newroot/dev
-/bin/umount /proc
-/bin/umount /sys
+/bin/mount --move /proc /newroot/proc
+/bin/mount --move /sys /newroot/sys
exec /sbin/switch_root /newroot /sbin/init