nut-debian/scripts/systemd/nutshutdown.in
2014-04-22 20:39:47 +02:00

3 lines
78 B
Bash

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