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

  1. #!/bin/sh /etc/rc.common
  2. # Copyright (C) 2006 OpenWrt.org
  3. START=50
  4. STOP=50
  5. start() {
  6. /usr/sbin/apcupsd -f /etc/apcupsd/apcupsd.conf
  7. }
  8. stop() {
  9. kill $(cat /var/run/apcupsd.pid)
  10. }