MCPcopy Create free account
hub / github.com/OpenHD/OpenHD / command_reboot

Function command_reboot

OpenHD/ohd_common/src/openhd_reboot_util.cpp:44–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44static void command_reboot() { OHDUtil::run_command("reboot", {}, true); }
45static void command_shutdown() { OHDUtil::run_command("shutdown", {}, true); }
46
47void openhd::reboot::systemctl_power(bool shutdownOnly) {

Callers 1

systemctl_powerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected