crostestutils: Make recover_duts reboot via powerd.
Update the recover_duts check_ethernet hook to first make a
RequestRestart D-Bus call to powerd before calling "reboot"
directly. The former makes it easier to see why we're
rebooting (since powerd logs the reason to its log).
TEST=ran the subshell command with and without powerd and
checked that the system reboots in both cases
Commit-Ready: Dan Erat <email@example.com>
Tested-by: Dan Erat <firstname.lastname@example.org>
Reviewed-by: Grant Grundler <email@example.com>
Reviewed-by: Todd Broch <firstname.lastname@example.org>
1 file changed