mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
gui_functions: add newline after message telling user that automatic boot will happen unless interrupted
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
This commit is contained in:
parent
3b22ae68e5
commit
32bb2e59eb
@ -6,8 +6,8 @@
|
|||||||
# continue with automatic boot, nonzero if user interrupted.
|
# continue with automatic boot, nonzero if user interrupted.
|
||||||
pause_automatic_boot()
|
pause_automatic_boot()
|
||||||
{
|
{
|
||||||
if IFS= read -t "$CONFIG_AUTO_BOOT_TIMEOUT" -s -n 1 -p \
|
if IFS= read -t "$CONFIG_AUTO_BOOT_TIMEOUT" -s -n 1 -r -p \
|
||||||
"Automatic boot in $CONFIG_AUTO_BOOT_TIMEOUT seconds unless interrupted by keypress... "; then
|
$'Automatic boot in '"$CONFIG_AUTO_BOOT_TIMEOUT"$' seconds unless interrupted by keypress...\n'; then
|
||||||
return 1 # Interrupt automatic boot
|
return 1 # Interrupt automatic boot
|
||||||
fi
|
fi
|
||||||
return 0 # Continue with automatic boot
|
return 0 # Continue with automatic boot
|
||||||
|
Loading…
Reference in New Issue
Block a user