sys-power/acpid: removed unused files

This commit is contained in:
Wuodan 2018-06-16 15:25:51 +02:00
parent e9e200e5bf
commit 2bee7f64d9
No known key found for this signature in database
GPG key ID: 2FFAE0AE76B5D696
6 changed files with 0 additions and 130 deletions

View file

@ -1,6 +0,0 @@
# /etc/conf.d/acpid: config file for /etc/init.d/acpid
# Options to pass to the acpid daemon.
# See the acpid(8) man page for more info.
ACPID_OPTIONS=""

View file

@ -1,28 +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/acpid/files/acpid-2.0.11-init.d,v 1.6 2011/08/05 08:47:40 ssuominen Exp $
extra_commands="reload"
command="/usr/sbin/acpid"
command_args="${ACPID_OPTIONS}"
start_stop_daemon_args="--quiet"
description="Daemon for Advanced Configuration and Power Interface"
depend() {
need localmount
use logger
}
if [ "${RC_VERSION:-0}" = "0" ]; then
start() {
eerror "This script cannot be used for baselayout-1."
return 1
}
fi
reload() {
ebegin "Reloading acpid configuration"
start-stop-daemon --exec $command --signal HUP
eend $?
}

View file

@ -1,21 +0,0 @@
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/files/acpid-2.0.16-init.d,v 1.1 2012/05/19 09:53:59 ssuominen Exp $
extra_started_commands="reload"
command="/usr/sbin/acpid"
command_args="${ACPID_ARGS}"
start_stop_daemon_args="--quiet"
description="Daemon for Advanced Configuration and Power Interface"
depend() {
need localmount
use logger
}
reload() {
ebegin "Reloading acpid configuration"
start-stop-daemon --exec $command --signal HUP
eend $?
}

View file

@ -1,30 +0,0 @@
#!/sbin/runscript
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/files/acpid-2.0.3-init.d,v 1.1 2010/04/04 16:39:09 ssuominen Exp $
opts="reload"
depend() {
need localmount
use logger
before hald
}
start() {
ebegin "Starting acpid"
start-stop-daemon --start --quiet --exec /usr/sbin/acpid -- ${ACPID_OPTIONS}
eend $?
}
stop() {
ebegin "Stopping acpid"
start-stop-daemon --stop --exec /usr/sbin/acpid
eend $?
}
reload() {
ebegin "Reloading acpid configuration"
start-stop-daemon --stop --oknodo --exec /usr/sbin/acpid --signal HUP
eend $?
}

View file

@ -1,36 +0,0 @@
--- kacpimon/makefile
+++ kacpimon/makefile
@@ -8,7 +8,7 @@
# release build
#CFLAGS = -O2 -Wall -Wextra -Wundef -Wshadow -Werror
# hybrid build, optimized, but with debugging symbols (Debian-style)
-CFLAGS = -g -O2 -Wall -Wextra -Wundef -Wshadow -Werror
+CFLAGS += -Wall -Wextra -Wundef -Wshadow
objects := $(sources:.c=.o)
--- Makefile
+++ Makefile
@@ -3,8 +3,6 @@
# update these numbers for new releases
VERSION = 2.0.3
-OPT = -O2
-
DESTDIR =
PREFIX = /usr
@@ -29,10 +27,10 @@
MAN8 = acpid.8 acpi_listen.8
MAN8GZ = $(MAN8:.8=.8.gz)
-DOCS = COPYING Changelog README TESTPLAN TODO
+DOCS = Changelog README TESTPLAN TODO
-CFLAGS = -W -Wall -Werror -Wundef -Wshadow -D_GNU_SOURCE $(OPT) \
- -fno-strict-aliasing -g $(DEFS)
+CFLAGS += -W -Wall -Wundef -Wshadow -D_GNU_SOURCE \
+ -fno-strict-aliasing $(DEFS)
DEFS = -DVERSION="\"$(VERSION)\""
all: $(PROGS)

View file

@ -1,9 +0,0 @@
[Unit]
Description=ACPI Event Daemon
After=syslog.target
[Service]
ExecStart=/usr/sbin/acpid -f
[Install]
WantedBy=multi-user.target