# NUT upssched.conf — NUT master host (e.g. 10.0.30.100) # Place at /etc/nut/upssched.conf on the NUT master host. # # Triggers FSD after UPS has been on battery for 30 seconds. # If power returns before 30s, the timer is cancelled. # Also triggers on communication loss (COMMBAD) as a safety net. # # Requires: mkdir -p /run/nut && chown nut:nut /run/nut # Requires: CMDSCRIPT at /etc/nut/upssched-cmd (see templates/upssched-cmd.sh) CMDSCRIPT /etc/nut/upssched-cmd PIPEFN /run/nut/upssched.pipe LOCKFN /run/nut/upssched.lock AT ONBATT * START-TIMER earlyshutdown 30 AT ONLINE * CANCEL-TIMER earlyshutdown AT COMMOK * CANCEL-TIMER earlyshutdown AT COMMBAD * START-TIMER earlyshutdown 30