提交 30aa2c79 编写于 作者: C cheng_jinsong

修改eng_mode cmdline

Signed-off-by: Ncheng_jinsong <chengjinsong2@huawei.com>
上级 f2bb545f
......@@ -21,7 +21,7 @@
static int InitEngEarlyHook(const HOOK_INFO *info, void *cookie)
{
char value[MAX_BUFFER_LEN] = {0};
int ret = GetParameterFromCmdLine("eng_mode", value, MAX_BUFFER_LEN);
int ret = GetParameterFromCmdLine("ohos.boot.eng_mode", value, MAX_BUFFER_LEN);
if (ret == 0 && strcmp(value, "on") == 0) {
InitModuleMgrInstall("init_eng");
InitModuleMgrUnInstall("init_eng");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册