aboutsummaryrefslogtreecommitdiff
path: root/etc/bootstrap/bbot-bootstrap-mingw.bat
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-08-06 19:20:17 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-08-06 19:20:17 +0200
commitb0cfa2cf7956827447685c2b044556c1ca8dc5c4 (patch)
treeeb2fdb392ea407aa2bb94dd5779cb075331a9816 /etc/bootstrap/bbot-bootstrap-mingw.bat
parentfa6875384e70f2c9bf2e871991db22839cf6fbd5 (diff)
Add shutdown to bootstrap script
Qemu's system_powerdown is proving to be useless.
Diffstat (limited to 'etc/bootstrap/bbot-bootstrap-mingw.bat')
-rw-r--r--etc/bootstrap/bbot-bootstrap-mingw.bat3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/bootstrap/bbot-bootstrap-mingw.bat b/etc/bootstrap/bbot-bootstrap-mingw.bat
index b64d977..1280c1c 100644
--- a/etc/bootstrap/bbot-bootstrap-mingw.bat
+++ b/etc/bootstrap/bbot-bootstrap-mingw.bat
@@ -165,6 +165,9 @@ bbot-worker --bootstrap >manifest
curl -s -S --upload-file manifest "tftp://%tftp%/manifest"
@if errorlevel 1 goto error
+shutdown /s /t 10
+@if errorlevel 1 goto error
+
@echo off
goto end