mirror of
https://gitee.com/openharmony/startup_init
synced 2024-12-03 16:34:03 +00:00
格式修改
Signed-off-by: xlei1030 <xionglei6@huawei.com>
This commit is contained in:
parent
1bcd280eef
commit
fa663d1615
@ -659,19 +659,19 @@ static int LoadParamFromCmdLine(void)
|
||||
{
|
||||
int ret;
|
||||
static const cmdLineInfo cmdLines[] = {{OHOS_BOOT"hardware", CommonDealFun},
|
||||
{OHOS_BOOT"bootgroup", CommonDealFun},
|
||||
{OHOS_BOOT"reboot_reason", CommonDealFun},
|
||||
{OHOS_BOOT"sn", SnDealFun},
|
||||
{OHOS_BOOT"bootgroup", CommonDealFun},
|
||||
{OHOS_BOOT"reboot_reason", CommonDealFun},
|
||||
{OHOS_BOOT"sn", SnDealFun},
|
||||
#ifdef STARTUP_INIT_TEST
|
||||
{OHOS_BOOT"mem", CommonDealFun},
|
||||
{OHOS_BOOT"console", CommonDealFun},
|
||||
{OHOS_BOOT"mmz", CommonDealFun},
|
||||
{OHOS_BOOT"androidboot.selinux", CommonDealFun},
|
||||
{OHOS_BOOT"init", CommonDealFun},
|
||||
{OHOS_BOOT"root", CommonDealFun},
|
||||
{OHOS_BOOT"uuid", CommonDealFun},
|
||||
{OHOS_BOOT"rootfstype", CommonDealFun},
|
||||
{OHOS_BOOT"blkdevparts", CommonDealFun},
|
||||
{OHOS_BOOT"mem", CommonDealFun},
|
||||
{OHOS_BOOT"console", CommonDealFun},
|
||||
{OHOS_BOOT"mmz", CommonDealFun},
|
||||
{OHOS_BOOT"androidboot.selinux", CommonDealFun},
|
||||
{OHOS_BOOT"init", CommonDealFun},
|
||||
{OHOS_BOOT"root", CommonDealFun},
|
||||
{OHOS_BOOT"uuid", CommonDealFun},
|
||||
{OHOS_BOOT"rootfstype", CommonDealFun},
|
||||
{OHOS_BOOT"blkdevparts", CommonDealFun},
|
||||
#endif
|
||||
};
|
||||
char *data = ReadFileData(PARAM_CMD_LINE);
|
||||
|
Loading…
Reference in New Issue
Block a user