提交 fdf512ec 编写于 作者: X xu_yuntong

excludecfg

Signed-off-by: Nxu_yuntong <xu_yuntong@hoperun.com>
Change-Id: I107b3597b8ef575b319bf0e0e95f4abdc4e3fd26
上级 54733b29
......@@ -35,15 +35,6 @@ int ParseInitCfg(const char *configFile, void *context)
{
UNUSED(context);
INIT_LOGV("Parse init configs from %s", configFile);
static const char *excludeCfg[] = {
"/system/etc/init/weston.cfg"
};
for (int i = 0; i < (int)ARRAY_LENGTH(excludeCfg); i++) {
if (strcmp(configFile, excludeCfg[i]) == 0) {
INIT_LOGE("ParseInitCfg %s not support", configFile);
return 0;
}
}
char *fileBuf = ReadFileToBuf(configFile);
INIT_ERROR_CHECK(fileBuf != NULL, return -1, "Failed to read file content %s", configFile);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册