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

Function command_shutdown

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

Source from the content-addressed store, hash-verified

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) {
48 if (shutdownOnly) {

Callers 1

systemctl_powerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected