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

3 lines
58 B
Bash

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