aboutsummaryrefslogtreecommitdiff
path: root/custom/install-archzfs
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-01-18 18:56:30 -0600
committerCraig Jennings <c@cjennings.net>2026-01-18 18:56:30 -0600
commitb6f2207737d5b5b2e5f5a8b490e6ed52c16ebce6 (patch)
treeeb1c62bedbc58941999ec919136881c6d66183f1 /custom/install-archzfs
parent031c6102f42184d8b6614695760fd11249b1c5f2 (diff)
downloadarchangel-b6f2207737d5b5b2e5f5a8b490e6ed52c16ebce6.tar.gz
archangel-b6f2207737d5b5b2e5f5a8b490e6ed52c16ebce6.zip
Add timestamp header to install-archzfs.log
Diffstat (limited to 'custom/install-archzfs')
-rwxr-xr-xcustom/install-archzfs7
1 files changed, 7 insertions, 0 deletions
diff --git a/custom/install-archzfs b/custom/install-archzfs
index 0f1e45f..1da4b51 100755
--- a/custom/install-archzfs
+++ b/custom/install-archzfs
@@ -49,6 +49,13 @@ NO_ENCRYPT="no" # Skip ZFS encryption (for testing only)
LOGFILE="/tmp/install-archzfs.log"
exec > >(tee -a "$LOGFILE") 2>&1
+# Log header with timestamp
+echo ""
+echo "================================================================================"
+echo "install-archzfs started @ $(date +'%Y-%m-%d %H:%M:%S')"
+echo "================================================================================"
+echo ""
+
info() { echo "[INFO] $1"; }
warn() { echo "[WARN] $1"; }
error() { echo "[ERROR] $1"; exit 1; }