Home
last modified time | relevance | path

Searched hist:"06 a5bddf" (Results 1 – 2 of 2) sorted by relevance

/openbmc/phosphor-buttons/inc/
H A Dbutton_handler.hpp06a5bddf Mon Nov 26 14:50:48 CST 2018 Matt Spinler <spinler@us.ibm.com> button-handler: Add reset button actions

Creates a signal handler for the 'Released' signal.

This will reboot the host if it is powered on. If the
system is off, it won't do anything.

As with the other buttons, it only installs the watch if
the button object exists.

Tested: Used the 'simPress' method on the reset object
to trigger the signal.

Change-Id: I4102cd8c260d07afb018b2c186e78a768e642a18
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
/openbmc/phosphor-buttons/src/
H A Dbutton_handler.cpp06a5bddf Mon Nov 26 14:50:48 CST 2018 Matt Spinler <spinler@us.ibm.com> button-handler: Add reset button actions

Creates a signal handler for the 'Released' signal.

This will reboot the host if it is powered on. If the
system is off, it won't do anything.

As with the other buttons, it only installs the watch if
the button object exists.

Tested: Used the 'simPress' method on the reset object
to trigger the signal.

Change-Id: I4102cd8c260d07afb018b2c186e78a768e642a18
Signed-off-by: Matt Spinler <spinler@us.ibm.com>