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:
CTCaer
2022-12-19 04:41:21 +02:00
parent 24795891ec
commit 227fe9b7ea
4 changed files with 5 additions and 124 deletions

View File

@@ -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)