Better messaging in the init sequence scripts.

This commit is contained in:
Ivan Davidov 2016-05-05 02:08:18 +03:00
parent 727dbfc0df
commit c83c5d6b25
2 changed files with 10 additions and 8 deletions

View File

@ -40,8 +40,9 @@
# Print message on screen.
cat << CEOF
Wait 5 seconds or press SPACE key to continue with the system initialization
process, or press any other key for PID 1 shell outside the initramfs area.
Press empty key (ESC, TAB, SPACE, ENTER) or wait 5 seconds to continue with
the system initialization process. Press any other key for PID 1 rescue shell
outside of the initramfs area.
CEOF
@ -55,8 +56,8 @@ if [ "$key" = "" ] ; then
else
# Print message on screen.
cat << CEOF
This is PID 1 shell outside of the initramfs area. Execute the following in
order to continue with the system initialization.
This is PID 1 rescue shell outside of the initramfs area. Execute the
following in order to continue with the system initialization:
exec /sbin/init

View File

@ -34,8 +34,9 @@ echo "Welcome to \"Minimal Linux Live\" (/init)"
# Print message on screen.
cat << CEOF
Wait 5 seconds or press SPACE key to continue with the overlay initialization
process, or press any other key for PID 1 shell inside the initramfs area.
Press empty key (ESC, TAB, SPACE, ENTER) or wait 5 seconds to continue with
the overlay initialization process. Press any other key for PID 1 rescue shell
inside the initramfs area.
CEOF
@ -45,8 +46,8 @@ read -t 5 -n1 -s key
if [ ! "$key" = "" ] ; then
# Print message on screen.
cat << CEOF
This is PID 1 shell inside the initramfs area. Execute the following in order
to continue with the overlay initialization process.
This is PID 1 rescue shell inside the initramfs area. Execute the following in
order to continue with the overlay initialization process:
exec /etc/02_overlay.sh