In order to use "power button" to shutdown or suspend my lfs. I enabled the depreciate /proc/acpi/event in kernel, and install acpid to handle the button event. It works well.
But is there any clear way to do that, such as by inittab or udev or kernel callout userspace script ( /proc/sys/kernel/poweroff_cmd has somethings ) I've looked into blfs, there's a lot more packages need to be installed to enable this.(I'm not a X user,for now.) Thanks. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
