summaryrefslogtreecommitdiffstats
path: root/projectroot
diff options
context:
space:
mode:
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
-