aboutsummaryrefslogtreecommitdiff
path: root/etc/bootstrap/bbot-bootstrap.sh
diff options
context:
space:
mode:
Diffstat (limited to 'etc/bootstrap/bbot-bootstrap.sh')
-rwxr-xr-xetc/bootstrap/bbot-bootstrap.sh5
1 files changed, 5 insertions, 0 deletions
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