nut/scripts/systemd/nutshutdown.in
2011-09-29 20:14:46 +02:00

2 lines
58 B
Bash

#!/bin/sh
upsmon -K >/dev/null 2>&1 && upsdrvctl shutdown