# Default acpi script that takes an entry for all actions

set $*

case "$2" in
	PWRF)
		case "$3" in
			power)	/sbin/init 0
				;;
			*)	logger "ACPI button/power action $3 is not defined with times $4"
				;;
		esac
		;;
	LID)
		case "$3" in
			*)	logger "ACPI button/lid action $3 is not defined with times $4"
				;;
		esac
		;;
	SLPB)
		case "$3" in
			*)	logger "ACPI button/sleep action $3 is not defined with times $4"
				;;
		esac
		;;

	*)
		logger "ACPI Button group $2 / action $3 is not defined"
		;;
esac

