0
0
mirror of https://github.com/openwrt/packages.git synced 2025-02-14 13:48:04 +00:00
packages/net/apcupsd/files/apcupsd.init
Othmar Truniger a460965a67 apcupsd: move from old packages and Makefile updated
Signed-off-by: Othmar Truniger <Othmar Truniger github@truniger.ch>
2015-02-17 23:14:27 +01:00

13 lines
182 B
Bash

#!/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)
}