summaryrefslogtreecommitdiff
path: root/airootfs/root
diff options
context:
space:
mode:
authorTom Barrett <tom@tombarrett.xyz>2023-01-22 19:29:11 +0100
committerTom Barrett <tom@tombarrett.xyz>2023-01-22 19:29:11 +0100
commit9c990fca729353b9076cf109e732fd2a55573d81 (patch)
tree45d95155eacad886c1fc70d2e3d8edea61ad7376 /airootfs/root
parenta3600e528b02f8ba965ec3fac46f681088bf8338 (diff)
2023 update
Diffstat (limited to 'airootfs/root')
-rwxr-xr-xairootfs/root/.loader2
-rwxr-xr-xairootfs/root/bootstrap2
2 files changed, 2 insertions, 2 deletions
diff --git a/airootfs/root/.loader b/airootfs/root/.loader
index 2daeab8..763bae2 100755
--- a/airootfs/root/.loader
+++ b/airootfs/root/.loader
@@ -1,5 +1,5 @@
#!/bin/bash
-set -e
+set -eux
dd if=/dev/zero of=/swapfile bs=1M count=512 status=progress
chmod 0600 /swapfile
diff --git a/airootfs/root/bootstrap b/airootfs/root/bootstrap
index dcd3d3f..5bfcf11 100755
--- a/airootfs/root/bootstrap
+++ b/airootfs/root/bootstrap
@@ -1,5 +1,5 @@
#!/bin/bash
-set -e
+set -eux
if ! timeout 1 curl -Is tombarrett.xyz | grep "200 OK" > /dev/null; then
echo "Please first connect to the internet."