Results 1 to 2 of 2
Does anyone know of a way to determine how the PC/Server was powered on?
I'm interested in writing a startup script that performs a specific action depending on the poweron ...
- 02-10-2010 #1Just Joined!
- Join Date
- Jan 2009
- Posts
- 8
How to determine Power On cause?
Does anyone know of a way to determine how the PC/Server was powered on?
I'm interested in writing a startup script that performs a specific action depending on the poweron cause.
For example:
If powered on by "wakalarm" perform task X & shutdown.
If powered on by "power button" perform task Y.
Is there any way to determine the cause of the power on?
I'm running Federa 12.
Thanks
- 02-12-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
That's a great question. I'm not sure, but I'd like to know also...
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote