sys-power/apcupsd: remove unused file
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>
Fri, 3 Feb 2017 15:30:10 +0000 (16:30 +0100)
committerDavid Seifert <soap@gentoo.org>
Sat, 4 Feb 2017 21:21:29 +0000 (22:21 +0100)
Closes: https://github.com/gentoo/gentoo/pull/3791

sys-power/apcupsd/files/apcupsd.init.2a [deleted file]

diff --git a/sys-power/apcupsd/files/apcupsd.init.2a b/sys-power/apcupsd/files/apcupsd.init.2a
deleted file mode 100644 (file)
index 8f673d4..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-INSTANCE="${SVCNAME#*.}"
-if [ -z "${INSTANCE}" ] || [ "${SVCNAME}" = "apcupsd" ]; then
-       INSTANCE="apcupsd"
-fi
-
-depend() {
-       use net
-}
-
-start() {
-       rm -f /etc/apcupsd/powerfail
-
-       export SERVICE="${SVCNAME}"
-
-       ebegin "Starting APC UPS daemon"
-       start-stop-daemon \
-               --start --pidfile "/var/run/${SVCNAME}.pid" \
-               --exec /sbin/apcupsd -- \
-               -f "/etc/apcupsd/${INSTANCE}.conf" \
-               -P "/var/run/${SVCNAME}.pid"
-       eend $?
-}
-
-stop() {
-       ebegin "Stopping APC UPS daemon"
-       start-stop-daemon \
-               --stop --pidfile "/var/run/${SVCNAME}.pid" \
-               --retry TERM/5/TERM/5 \
-               --exec /sbin/apcupsd
-       eend $?
-}
-