mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
apcupsd: move from old packages and Makefile updated
Signed-off-by: Othmar Truniger <Othmar Truniger github@truniger.ch>
This commit is contained in:
@@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user