From b0cfa2cf7956827447685c2b044556c1ca8dc5c4 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 6 Aug 2017 19:20:17 +0200 Subject: Add shutdown to bootstrap script Qemu's system_powerdown is proving to be useless. --- etc/bootstrap/bbot-bootstrap.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'etc/bootstrap/bbot-bootstrap.sh') diff --git a/etc/bootstrap/bbot-bootstrap.sh b/etc/bootstrap/bbot-bootstrap.sh index 9e7ace8..ec046ca 100755 --- a/etc/bootstrap/bbot-bootstrap.sh +++ b/etc/bootstrap/bbot-bootstrap.sh @@ -137,3 +137,8 @@ run rm -r "$config" # run bbot-worker --bootstrap >manifest run curl -s -S --upload-file manifest "tftp://$tftp/manifest" + +# Wait a bit and shutdown. +# +sleep 2 +sudo shutdown -h now -- cgit v1.1