Re: Getting confirmation for power button

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 25/04/2013 15:00, Vanhorn, Mike wrote:
On 4/25/13 9:46 AM, "Giles Coochey" <giles@xxxxxxxxxxx> wrote:

You are talking about something that acpid is doing for you:

http://linux.die.net/man/8/acpid


Yes, I know this is handled by acpid; that's where the
/etc/acpid/events/power.sh file comes in. I'm asking if anyone knows what
changes to make to that file so that it gives a prompt first.

I'm guessing that there is a program out there already that will prompt
for a shutdown, I just don't know what that program is.


It kind of depends what environment you are using and how you can hook into the standard power-off program that runs when you shutdown in the GUI. You would edit the actions to run that program.

--
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

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux