[PATCH]Enabling Auto poweron after power is restored.

Manish Ahuja ahuja at austin.ibm.com
Sat Dec 2 05:28:57 EST 2006


During power outages, the ups notifies the system for a shutdown. In the 
current setup, it isn't possible to poweron when power is restored. This 
patch fixes the issue by calling the right ibm,power-off-ups token 
during such events. It also adds a proc interface so that rc.powerfail 
can parse the epow events and modify the power-off behavior accordingly 
to enable the right token to be called.

Signed-off-by: Manish Ahuja <ahuja at austin.ibm.com>

Resending this email as earlier attempts failed.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: power-off-ups.patch
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20061201/ef556978/attachment.asc>


More information about the Linuxppc-dev mailing list