提交 6f509c92 编写于 作者: X xionglei6

fix:支持suspend

Signed-off-by: Nxionglei6 <xionglei6@huawei.com>
上级 b0239ce0
......@@ -228,7 +228,7 @@ static int GetTriggerType(const char *type)
}
const char *triggerTypeStr[] = {
"pre-init", "boot", "early-init", "init", "early-init", "late-init", "post-init",
"fs", "early-fs", "post-fs", "late-fs", "early-boot", "post-fs-data", "reboot"
"fs", "early-fs", "post-fs", "late-fs", "early-boot", "post-fs-data", "reboot", "suspend"
};
for (size_t i = 0; i < ARRAY_LENGTH(triggerTypeStr); i++) {
if (strcmp(triggerTypeStr[i], type) == 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册