aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xetc/bootstrap/bbot-bootstrap-freebsd.sh5
-rwxr-xr-xetc/bootstrap/bbot-bootstrap-linux.sh5
-rwxr-xr-xetc/bootstrap/bbot-bootstrap-macos.sh5
-rwxr-xr-xetc/bootstrap/bbot-bootstrap.sh5
4 files changed, 15 insertions, 5 deletions
diff --git a/etc/bootstrap/bbot-bootstrap-freebsd.sh b/etc/bootstrap/bbot-bootstrap-freebsd.sh
index 8a86696..497225e 100755
--- a/etc/bootstrap/bbot-bootstrap-freebsd.sh
+++ b/etc/bootstrap/bbot-bootstrap-freebsd.sh
@@ -15,3 +15,8 @@ fi
--make gmake \
--make "-j$jobs" \
"$@"
+
+# Wait a bit and shutdown.
+#
+sleep 5
+sudo shutdown -h now
diff --git a/etc/bootstrap/bbot-bootstrap-linux.sh b/etc/bootstrap/bbot-bootstrap-linux.sh
index 0aa408d..9bcd29b 100755
--- a/etc/bootstrap/bbot-bootstrap-linux.sh
+++ b/etc/bootstrap/bbot-bootstrap-linux.sh
@@ -12,3 +12,8 @@ fi
--make make \
--make "-j$jobs" \
"$@"
+
+# Wait a bit and shutdown.
+#
+sleep 5
+sudo shutdown -h now
diff --git a/etc/bootstrap/bbot-bootstrap-macos.sh b/etc/bootstrap/bbot-bootstrap-macos.sh
index e7f7be8..0aa4ec3 100755
--- a/etc/bootstrap/bbot-bootstrap-macos.sh
+++ b/etc/bootstrap/bbot-bootstrap-macos.sh
@@ -17,3 +17,8 @@ fi
--make make \
--make "-j$jobs" \
"$@"
+
+# Wait a bit and shutdown.
+#
+sleep 5
+sudo shutdown -h now
diff --git a/etc/bootstrap/bbot-bootstrap.sh b/etc/bootstrap/bbot-bootstrap.sh
index 5908fe1..df717e8 100755
--- a/etc/bootstrap/bbot-bootstrap.sh
+++ b/etc/bootstrap/bbot-bootstrap.sh
@@ -138,8 +138,3 @@ 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