1. compile the kernel with acpi support (be sure to include as built in or module : ospm_busmgr, ospm_button,ospm_system)
2. either disable apm in kernel or add 'apm=off' to grub/lilo
3. get acpmd and install it (got rpms from sourceforge: http://acpid.sourceforge.net/ )
4. if you have compiled the acpi modules as modules, be sure to insmod them before /etc/inid.d/acpid runs
( what i did is add a 'modprobe' for them at the 'start()' in /etc/init.d/acpid )
5.create a file : /etc/acpi/events/powerbtn with the folowing lines:
event=button[ /]power action=/sbin/poweroff
6. reboot
i hope i did not forget anything, erez.
================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
