blob: 68af7764f7fce9fc02e2d3ee8a9b850d26be7456 (
plain)
1 #!/bin/sh
2 # Default acpi script that takes an entry for all actions
3
4 set $*
5
6 case "$1" in
7 button/power)
8 case "$2" in
9 PWRF) /sbin/init 0
10 ;;
11 *) logger "ACPI action $2 is not defined"
12 ;;
13 esac
14 ;;
15
16 *)
17 logger "ACPI group $1 / action $2 is not defined"
18 ;;
19 esac
|