diff options
| author | Craig Jennings <c@cjennings.net> | 2026-01-18 18:56:30 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-01-18 18:56:30 -0600 |
| commit | b6f2207737d5b5b2e5f5a8b490e6ed52c16ebce6 (patch) | |
| tree | eb1c62bedbc58941999ec919136881c6d66183f1 /custom | |
| parent | 031c6102f42184d8b6614695760fd11249b1c5f2 (diff) | |
| download | archangel-b6f2207737d5b5b2e5f5a8b490e6ed52c16ebce6.tar.gz archangel-b6f2207737d5b5b2e5f5a8b490e6ed52c16ebce6.zip | |
Add timestamp header to install-archzfs.log
Diffstat (limited to 'custom')
| -rwxr-xr-x | custom/install-archzfs | 7 |
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; } |
