You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
182 B

#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
START=50
STOP=50
start() {
/usr/sbin/apcupsd -f /etc/apcupsd/apcupsd.conf
}
stop() {
kill $(cat /var/run/apcupsd.pid)
}