HARDWARE Sony VGN S580/etc/acpi/*
From Gentoo Linux Wiki
| Laptops • TV Tuner Cards • Wireless • Servers • Storage • Other Hardware • Motherboards • Related |
| File: /etc/acpi/default.sh |
#!/bin/sh
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/files/acpid-1.0.4-default.sh,v 1.1 2005/03/15 19:15:53 ciaranm Exp $
# Default acpi script that takes an entry for all actions
set $*
group=${1/\/*/}
action=${1/*\//}
case "$group" in
button)
case "$action" in
power) echo ACPI: acpid event: power button --- see /etc/acpi/default.sh
#echo "ACPI hibernate: starting..."
#hibernate -F hibernate-disk.conf > /dev/null &
#echo "ACPI hibernate ...finished"
#/sbin/init 0
;;
*) logger "ACPI action $action is not defined"
;;
esac
;;
*)
logger "ACPI group $group / action $action is not defined"
;;
esac
|
