diff options
Diffstat (limited to 'discover/device-handler.c')
-rw-r--r-- | discover/device-handler.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/discover/device-handler.c b/discover/device-handler.c index e446cab..e75f412 100644 --- a/discover/device-handler.c +++ b/discover/device-handler.c @@ -930,6 +930,10 @@ static void set_default(struct device_handler *handler, return; } + if (handler->default_boot_option) + handler->default_boot_option->option->is_autoboot_default = false; + opt->option->is_autoboot_default = true; + handler->sec_to_boot = config_get()->autoboot_timeout_sec; handler->default_boot_option = opt; handler->default_boot_option_priority = new_prio; |