未验证 提交 0191151d 编写于 作者: O openharmony_ci 提交者: Gitee

!1860 修复ExecReboot无法重启的错误

Merge pull request !1860 from ldy/fix_exec_reboot
......@@ -24,7 +24,7 @@ void ExecReboot(const char *value)
INIT_LOGI("ExecReboot %s", value);
#ifndef STARTUP_INIT_TEST
// install module
InitModuleMgrInstall("rebootmodule");
ModuleMgrScan("init/reboot");
if (strstr(value, "reboot") != NULL) {
PluginExecCmdByName("reboot", value);
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册