On 25/04/2013 14:43, Vanhorn, Mike wrote:
Using CentOS 5.8: Currently on my workstations, when I press the power button the computer immediately does a 'shutdown -h now' (per /etc/acpid/events/power.conf). Is there a way to change it so that a confirmation dialog comes up, rather than an immediate shutdown? I assume that I am going to need to change that power.conf file to tell some program that the power button's been pressed, rather than making a call to shutdown, but I haven't been able to figure out what program to which I need to make a call.
You are talking about something that acpid is doing for you: http://linux.die.net/man/8/acpid -- Regards, Giles Coochey, CCNP, CCNA, CCNAS NetSecSpec Ltd +44 (0) 7983 877438 http://www.coochey.net http://www.netsecspec.co.uk giles@xxxxxxxxxxx
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos