diff options
-rw-r--r-- | discover/platform.c | 1 | ||||
-rw-r--r-- | ui/ncurses/nc-cui.c | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/discover/platform.c b/discover/platform.c index be60f00..93f25c3 100644 --- a/discover/platform.c +++ b/discover/platform.c @@ -87,6 +87,7 @@ void config_set_defaults(struct config *config) { config->autoboot_enabled = true; config->autoboot_timeout_sec = 10; + config->autoboot_enabled = true; config->network.interfaces = NULL; config->network.n_interfaces = 0; config->network.dns_servers = NULL; diff --git a/ui/ncurses/nc-cui.c b/ui/ncurses/nc-cui.c index 7200a81..1f163b9 100644 --- a/ui/ncurses/nc-cui.c +++ b/ui/ncurses/nc-cui.c @@ -592,6 +592,11 @@ static void cui_update_config(struct config *config, void *arg) if (cui->config_screen) config_screen_update(cui->config_screen, config, cui->sysinfo); + + if (config->safe_mode) + nc_scr_status_printf(cui->current, + "SAFE MODE: select '%s' to continue", + "Rescan devices"); } int cui_send_config(struct cui *cui, struct config *config) |