| 38 | } |
| 39 | |
| 40 | void openhd::reboot::systemctl_reboot() { |
| 41 | OHDUtil::run_command("systemctl", {"start", "reboot.target"}, true); |
| 42 | } |
| 43 | |
| 44 | static void command_reboot() { OHDUtil::run_command("reboot", {}, true); } |
| 45 | static void command_shutdown() { OHDUtil::run_command("shutdown", {}, true); } |
nothing calls this directly
no outgoing calls
no test coverage detected