cfg: remove creation from hekate and move to Nyx
There's no reason for hekate to create the hekate config if missing, since Nyx is the sole manager of it. So move the auto creation there to save binary space.
This commit is contained in:
1 parent
24795891ec
commit
227fe9b7ea
4 files changed
+5
-124
No files matched your search
@@ -211,7 +211,10 @@ static void _load_saved_configuration()
|
||||
LIST_INIT(ini_nyx_sections);
|
||||
|
||||
if (!ini_parse(&ini_sections, "bootloader/hekate_ipl.ini", false))
|
||||
{
|
||||
create_config_entry();
|
||||
goto skip_main_cfg_parse;
|
||||
}
|
||||
|
||||
// Load hekate configuration.
|
||||
LIST_FOREACH_ENTRY(ini_sec_t, ini_sec, &ini_sections, link)
|
||||
|
||||
Reference in new issue
Block a user