]> git.pld-linux.org Git - packages/apcupsd.git/blame - apcupsd-rc.d-halt
-rc.d halt script for apcupsd
[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.023165 seconds and 4 git commands to generate.