mirror of
https://gitee.com/openharmony/startup_init
synced 2024-11-23 08:09:59 +00:00
commit
457a26cff2
@ -173,9 +173,9 @@
|
||||
"chown root system /dev/fscklogs/log",
|
||||
"chmod 0770 /dev/fscklogs/log",
|
||||
"chmod 0660 /dev/fuse",
|
||||
"restorecon /data/service/el1/public",
|
||||
"restorecon /data/service/el1/public/activation_lock",
|
||||
"restorecon /data/service/el1/startup/parameters"
|
||||
"restorecon -F /data/service/el1/public",
|
||||
"restorecon -F /data/service/el1/public/activation_lock",
|
||||
"restorecon -F /data/service/el1/startup/parameters"
|
||||
]
|
||||
}, {
|
||||
"name" : "boot",
|
||||
|
@ -112,7 +112,6 @@ void ReadConfig(void)
|
||||
ReadFileInDir(OTHER_CHARGE_PATH, ".cfg", ParseInitCfg, NULL);
|
||||
ParseInitCfgByPriority();
|
||||
} else if (strcmp(buffer, "charger") == 0) {
|
||||
ParseInitCfg(INIT_CONFIGURATION_FILE, NULL);
|
||||
ReadFileInDir(OTHER_CHARGE_PATH, ".cfg", ParseInitCfg, NULL);
|
||||
} else if (InRescueMode() == 0) {
|
||||
ParseInitCfg(INIT_CONFIGURATION_FILE, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user