summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>2016-11-03 16:46:20 +1100
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2016-11-24 13:25:44 +1100
commitea8bd5f424a9b01c71e1694bb5b6ffc13e3da4f5 (patch)
tree92a7b686f52988d7be6f9c0609c7f766dc0805b2
parent5bf4ee3677385d655ad06878b9a504f606baa73e (diff)
downloadtalos-petitboot-ea8bd5f424a9b01c71e1694bb5b6ffc13e3da4f5.tar.gz
talos-petitboot-ea8bd5f424a9b01c71e1694bb5b6ffc13e3da4f5.zip
ui/ncurses: Make server connect message more clearv1.3.2
The current message mentions a "server" which can give the misleading impression that the UI is waiting for a remote network server. The delay is actually in waiting for the pb-discover process to be ready, so update the message to reflect that. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
-rw-r--r--ui/ncurses/nc-cui.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/ui/ncurses/nc-cui.c b/ui/ncurses/nc-cui.c
index dfe8099..304371c 100644
--- a/ui/ncurses/nc-cui.c
+++ b/ui/ncurses/nc-cui.c
@@ -981,13 +981,15 @@ static int cui_server_wait(void *arg)
if (!cui->client) {
waiter_register_timeout(cui->waitset, 1000, cui_server_wait,
cui);
- nc_scr_status_printf(cui->current, "Info: Waiting for server");
+ nc_scr_status_printf(cui->current,
+ "Info: Waiting for device discovery");
} else {
- nc_scr_status_printf(cui->current, "Info: Connected to server!");
+ nc_scr_status_printf(cui->current,
+ "Info: Connected to pb-discover!");
talloc_steal(cui, cui->client);
if (cui->has_input) {
- pb_log("Aborting default boot on server connect\n");
+ pb_log("Aborting default boot on pb-discover connect\n");
discover_client_cancel_default(cui->client);
}
}
OpenPOWER on IntegriCloud