add packages_10.03.2 in preparation for the 10.03.2 interim release
[10.03/packages.git] / net / apcupsd / files / apcupsd.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006 OpenWrt.org
3 START=50
4 STOP=50
5
6 start() {
7         /usr/sbin/apcupsd -f /etc/apcupsd/apcupsd.conf
8 }
9
10 stop() {
11         kill $(cat /var/run/apcupsd.pid)
12 }