Skip to content

Commit c0762aa

Browse files
Merge remote-tracking branch 'github-tlaurion/automatic_boot_newline'
PR #1779
2 parents b226453 + 32bb2e5 commit c0762aa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

initrd/etc/gui_functions

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
# continue with automatic boot, nonzero if user interrupted.
77
pause_automatic_boot()
88
{
9-
if IFS= read -t "$CONFIG_AUTO_BOOT_TIMEOUT" -s -n 1 -p \
10-
"Automatic boot in $CONFIG_AUTO_BOOT_TIMEOUT seconds unless interrupted by keypress... "; then
9+
if IFS= read -t "$CONFIG_AUTO_BOOT_TIMEOUT" -s -n 1 -r -p \
10+
$'Automatic boot in '"$CONFIG_AUTO_BOOT_TIMEOUT"$' seconds unless interrupted by keypress...\n'; then
1111
return 1 # Interrupt automatic boot
1212
fi
1313
return 0 # Continue with automatic boot

0 commit comments

Comments
 (0)