firstboot: drop waiting for key when starting
We only show this blurb on the first question, but the first question is interactive anyway, hence no need to wait for input first explicitly, we won't progress anyway without user input. (similar for homectl's firstboot)
This commit is contained in:
@@ -147,9 +147,7 @@ static void print_welcome(int rfd, sd_varlink **mute_console_link) {
|
||||
fputs(glyph(GLYPH_SPARKLES), stdout);
|
||||
putchar(' ');
|
||||
}
|
||||
printf("Please configure your new system!\n");
|
||||
|
||||
any_key_to_proceed();
|
||||
printf("Please configure your new system!\n\n");
|
||||
|
||||
done = true;
|
||||
}
|
||||
|
||||
+1
-6
@@ -2888,12 +2888,7 @@ static int create_interactively(void) {
|
||||
fputs(glyph(GLYPH_HOME), stdout);
|
||||
putchar(' ');
|
||||
}
|
||||
printf("Please create your user account!\n");
|
||||
|
||||
if (!any_key_to_proceed()) {
|
||||
log_notice("Skipping.");
|
||||
return 0;
|
||||
}
|
||||
printf("Please create your user account!\n\n");
|
||||
|
||||
r = prompt_loop("Please enter user name to create",
|
||||
GLYPH_IDCARD,
|
||||
|
||||
Reference in New Issue
Block a user