From 4bc82f170161993315de80996861dc4a8d2ed3f3 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Thu, 7 May 2015 19:49:12 +0300 Subject: [PATCH] Do not depend on bash logout and pass -n to poweroff (9p is sync,dirsync) --- ex/makevm | 1 - lib/Gruntmaster/Daemon/Format.pm | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ex/makevm b/ex/makevm index b9ceaaa..efc3a21 100755 --- a/ex/makevm +++ b/ex/makevm @@ -4,7 +4,6 @@ mkdir -p vm/proc/ mount /proc -o bind vm/proc multistrap -f ex/vm.conf ln -s vm/usr/bin/mawk vm/bin/awk -echo '/sbin/poweroff -f' > vm/.bash_logout cat > vm/.profile <new({ Cmd => $cmd, Prompt => '# ', - DisconnectCmd => 'exit', + DisconnectCmd => '/sbin/poweroff -fn', RawPty => 1, Timeout => 10, }); -- 2.39.2