apcupsd: move from old packages and Makefile updated

Signed-off-by: Othmar Truniger <Othmar Truniger github@truniger.ch>
This commit is contained in:
Othmar Truniger
2015-02-17 23:14:27 +01:00
parent 0d10c8ae48
commit a460965a67
11 changed files with 663 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/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)
}