]> git.pld-linux.org Git - packages/apcupsd.git/blob - apcupsd-rc.d-halt
- rm source10 - use halt from init script (from Zbigniew Bryczkowski)
[packages/apcupsd.git] / apcupsd-rc.d-halt
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
This page took 0.047769 seconds and 3 git commands to generate.