summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/acpid/acpi_handler.sh
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-02-19 16:04:26 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-02-19 16:04:26 (GMT)
commit31352df953653df1b5d6f193c3ed192536467b31 (patch)
treeaa279cfd8d32ab1b6e11d45a7c0964705f222338 /abs/core-testing/acpid/acpi_handler.sh
parenta6c74e9e0b37d26ba7525d62602b812f7a6db61a (diff)
downloadlinhes_pkgbuild-31352df953653df1b5d6f193c3ed192536467b31.zip
linhes_pkgbuild-31352df953653df1b5d6f193c3ed192536467b31.tar.gz
linhes_pkgbuild-31352df953653df1b5d6f193c3ed192536467b31.tar.bz2
Change handler.sh to call the runit-shutdown scripts directly.
Previously it was failing because of a path issue.
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