]> git.pld-linux.org Git - packages/apcupsd.git/blame_incremental - apcupsd-rc.d-halt
- rm source10 - use halt from init script (from Zbigniew Bryczkowski)
[packages/apcupsd.git] / apcupsd-rc.d-halt
... / ...
CommitLineData
1#!/bin/sh
2
3if [ -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
11fi
This page took 0.096336 seconds and 4 git commands to generate.