From a793a04ffbc651b057a46b31c35877e72519b7e7 Mon Sep 17 00:00:00 2001 From: Snarf Date: Fri, 30 Oct 2026 22:16:36 -0400 Subject: [PATCH] feat: add NUT UPS notification and tiered homelab shutdown scripts --- scripts/homelab_power_shutdown.sh | 1 + scripts/nut_notify.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/homelab_power_shutdown.sh b/scripts/homelab_power_shutdown.sh index c390181..3a73b39 100644 --- a/scripts/homelab_power_shutdown.sh +++ b/scripts/homelab_power_shutdown.sh @@ -78,3 +78,4 @@ done log "Stage 6: Executing final local halt and arming killpower..." touch /etc/killpower /sbin/shutdown -h +0 + diff --git a/scripts/nut_notify.sh b/scripts/nut_notify.sh index 484aaa0..5589700 100644 --- a/scripts/nut_notify.sh +++ b/scripts/nut_notify.sh @@ -42,3 +42,4 @@ case "$EVENT_TYPE" in logger -t nut-notify "Unhandled UPS event: ${EVENT_TYPE}" ;; esac +