summaryrefslogtreecommitdiffstats
path: root/projectroot
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2019-03-09 10:40:05 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-03-11 08:15:16 +0100
commit6ed92ff9435f1b73d51bdb309064e72a3ac3eceb (patch)
treec458649b11bc2274db41fe7560d20846ebfa3fb0 /projectroot
parentb5bce2e7e0a30fe4cd768329383a58fc3b70d54a (diff)
downloadptxdist-6ed92ff9435f1b73d51bdb309064e72a3ac3eceb.tar.gz
ptxdist-6ed92ff9435f1b73d51bdb309064e72a3ac3eceb.tar.xz
projectroot: remove obsolete /etc/acpi/events/power_button and /etc/init.d/acpid
It is no longer installed since c21213853fff778cc5053b8a2dc67b925d77bd4b ("acpid: remove after more than one year in staging") Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'projectroot')
-rw-r--r--projectroot/etc/acpi/events/power_button4
-rw-r--r--projectroot/etc/init.d/acpid41
2 files changed, 0 insertions, 45 deletions
diff --git a/projectroot/etc/acpi/events/power_button b/projectroot/etc/acpi/events/power_button
deleted file mode 100644
index 11cc7167f..000000000
--- a/projectroot/etc/acpi/events/power_button
+++ /dev/null
@@ -1,4 +0,0 @@
-# care about the power button
-
-event=button/power.*
-action=/sbin/poweroff
diff --git a/projectroot/etc/init.d/acpid b/projectroot/etc/init.d/acpid
deleted file mode 100644
index 81e97631b..000000000
--- a/projectroot/etc/init.d/acpid
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/sh
-
-DAEMON=/usr/sbin/acpid
-PIDFILE=/var/run/acpid.pid
-
-case $1 in
-start)
- echo "starting acpid"
-
- # don't use acpid if proc/acpi is not there.
- if [ ! -e /proc/acpi/event ]; then
- echo "failed"
- echo "error: proc/acpi/event not here"
- exit 1
- fi
-
- # Start the acpid daemon to continually
- # watch for, and act on, acpievents
- echo -n "Starting acpid..."
- start-stop-daemon --start --oknodo \
- --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_OPTS
-
- if [ "$?" = "0" ]; then
- echo "done"
- exit 0
- else
- echo "failed"
- exit 1
- fi
-
- ;;
-stop)
- echo "Stopping acpid"
- start-stop-daemon --stop --oknodo --quiet \
- --pidfile $PIDFILE --exec $DAEMON
- ;;
-*)
- echo "usage: $0 [start|stop]"
- ;;
-esac
-