commit 8c4938660f9306a5178d310d44ecf5eff6d10ec0
parent ec85967e9231e58673d6a122243eda65ef49719a
Author: MikoĊaj Lenczewski <mblenczewski@gmail.com>
Date: Thu, 2 Jan 2025 14:10:35 +0000
Add echo to install and uninstall scripts
Diffstat:
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/install.sh b/install.sh
@@ -1,5 +1,7 @@
#!/bin/sh
+set -ex
+
for i in $(seq 1 16); do
id "hex-agent-$i" -u >/dev/null 2>&1 || \
useradd -M -N -e '' "hex-agent-$i"
diff --git a/uninstall.sh b/uninstall.sh
@@ -1,5 +1,7 @@
#!/bin/sh
+set -ex
+
for i in $(seq 1 16); do
id "hex-agent-$i" -u >/dev/null 2>&1 && \
userdel "hex-agent-$i"