|
发表于 2004-2-25 16:08:25
|
显示全部楼层
> 其次是有一个apcid的daemon,它会监视/proc/acpi/event,当按下电源按钮时会自动执行/etc/powerbtn.sh
It depends on different distributions. For Slackware, it will execute
/etc/acpi/acpi_handler.sh instead. And the default acpi_handler.sh almost does nothing in Slackware. I've written a custom script for my laptop. You may download it and modify it as you want:
http://mariner.cs.ucdavis.edu/sl ... ns/acpi_handler.txt |
|