]> git.pld-linux.org Git - packages/apcupsd.git/blame - apcupsd-rc.d-halt
- define STATDIR to put apcupsd.status (from Zbigniew Bryczkowski)
[packages/apcupsd.git] / apcupsd-rc.d-halt
CommitLineData
04216893 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.077168 seconds and 4 git commands to generate.