#!/bin/sh
#
# simple sample script to start apcupsd
#
# you must be root to execute it
#
rm -f /var/run/power.pid
rm -f /etc/powerfail
rm -f /etc/powerstatus
rm -f /etc/nologin
/sbin/apcupsd
