feat: add NUT UPS notification and tiered homelab shutdown scripts
This commit is contained in:
@@ -78,3 +78,4 @@ done
|
|||||||
log "Stage 6: Executing final local halt and arming killpower..."
|
log "Stage 6: Executing final local halt and arming killpower..."
|
||||||
touch /etc/killpower
|
touch /etc/killpower
|
||||||
/sbin/shutdown -h +0
|
/sbin/shutdown -h +0
|
||||||
|
|
||||||
|
|||||||
@@ -42,3 +42,4 @@ case "$EVENT_TYPE" in
|
|||||||
logger -t nut-notify "Unhandled UPS event: ${EVENT_TYPE}"
|
logger -t nut-notify "Unhandled UPS event: ${EVENT_TYPE}"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user