Re: [PATCH]Enabling Auto poweron after power is restored.
From: Manish Ahuja <hidden>
Date: 2007-02-08 22:01:30
Attachments
- Auto-poweron-patch-1 [text/plain] 6003 bytes · preview
From: Manish Ahuja <hidden>
Date: 2007-02-08 22:01:30
Re-spun as suggested. I think this should be i-series friendly. ------------------------------------------------------------------------------------------------------------------------- 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 sysfs 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 <redacted>