nut-debian/scripts/systemd/nutshutdown.in
2012-08-12 23:39:31 +02:00

3 lines
84 B
Bash

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