summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-05-16 02:06:45 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-05-16 02:06:45 +0000
commit7d7916e85a2c6c2a2a7eec38fea1be1968ee995e (patch)
tree07ae925d4d52a25d05d3c411d3132bfd2fd2eb40 /sys-power/apcupsd/files
parentbring back the input_devices_vmmouse unmask (diff)
downloadgentoo-2-7d7916e85a2c6c2a2a7eec38fea1be1968ee995e.tar.gz
gentoo-2-7d7916e85a2c6c2a2a7eec38fea1be1968ee995e.tar.bz2
gentoo-2-7d7916e85a2c6c2a2a7eec38fea1be1968ee995e.zip
Remove old version.
(Portage version: 2.2.0_alpha105/cvs/Linux x86_64)
Diffstat (limited to 'sys-power/apcupsd/files')
-rw-r--r--sys-power/apcupsd/files/apcupsd.init.238
1 files changed, 0 insertions, 38 deletions
diff --git a/sys-power/apcupsd/files/apcupsd.init.2 b/sys-power/apcupsd/files/apcupsd.init.2
deleted file mode 100644
index 6764e335f40a..000000000000
--- a/sys-power/apcupsd/files/apcupsd.init.2
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/apcupsd/files/apcupsd.init.2,v 1.3 2011/08/22 14:27:25 flameeyes Exp $
-
-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" \
- --wait 3000 \
- --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 $?
-}
-