nut-debian/scripts/systemd/nutshutdown.in

3 lines
58 B
Plaintext
Raw Normal View History

2011-09-29 21:14:46 +03:00
#!/bin/sh
upsmon -K >/dev/null 2>&1 && upsdrvctl shutdown