Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
44
static void command_reboot() { OHDUtil::run_command(
"reboot"
, {}, true); }
45
static void command_shutdown() { OHDUtil::run_command(
"shutdown"
, {}, true); }
46
47
void openhd::reboot::systemctl_power(bool shutdownOnly) {
Callers
1
systemctl_power
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected