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