]>
Commit | Line | Data |
---|---|---|
04216893 | 1 | #!/bin/sh |
2 | ||
3 | if [ -f /etc/apcupsd/powerfail ]; then | |
4 | echo "APCUPSD to the Rescue!" | |
5 | echo | |
6 | /etc/apcupsd/apccontrol killpower | |
7 | echo | |
8 | sleep 120 | |
9 | # Never reached in normal powerfailure situation :) | |
10 | exit 1 | |
11 | fi |