From: Marius Gavrilescu Date: Thu, 7 May 2015 16:49:12 +0000 (+0300) Subject: Do not depend on bash logout and pass -n to poweroff (9p is sync,dirsync) X-Git-Tag: 5999.000_005~12 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=4bc82f170161993315de80996861dc4a8d2ed3f3;p=gruntmaster-daemon.git Do not depend on bash logout and pass -n to poweroff (9p is sync,dirsync) --- 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, });