summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/acpid/acpi_handler.sh
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/acpid/acpi_handler.sh')
-rwxr-xr-xabs/core-testing/acpid/acpi_handler.sh23
1 files changed, 0 insertions, 23 deletions
diff --git a/abs/core-testing/acpid/acpi_handler.sh b/abs/core-testing/acpid/acpi_handler.sh
deleted file mode 100755
index 65e4ee5..0000000
--- a/abs/core-testing/acpid/acpi_handler.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-# Default acpi script that takes an entry for all actions
-set $*
-EVENT=`echo $1 |cut -d/ -f1`
-ACTION=`echo $1|cut -d/ -f2`
-
-#echo $EVENT
-#echo $ACTION
-case "$EVENT" in
- button)
- case "$ACTION" in
- power)
- echo Please wait while the system powers off | /usr/local/bin/putfifo /tmp/onscreen &
- xsay "Please wait while the system powers off" &
- /sbin/init 0
- ;;
- *) logger "ACPI action $2 is not defined"
- ;;
- esac
- ;;
- *) logger "ACPI group $1 / action $2 is not defined"
- ;;
-esac