mirror of
https://github.com/novatiq/packages.git
synced 2026-04-28 14:48:39 +01:00
a460965a67
Signed-off-by: Othmar Truniger <Othmar Truniger github@truniger.ch>
13 lines
182 B
Bash
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)
|
|
}
|