-
由 Manish Ahuja 提交于
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 userspace can specify whether or not to power on when power is restored. Signed-off-by: NManish Ahuja <ahuja@austin.ibm.com> Signed-off-by: NPaul Mackerras <paulus@samba.org>
5d30bf30