Cosmetic changes

This commit is contained in:
Le0xFF 2022-07-30 19:19:43 +02:00
parent 138118dd9c
commit 00a7bc514c

3
vli.sh
View File

@ -356,6 +356,7 @@ function finish_chroot {
if [[ -z "\$hostname" ]] ; then if [[ -z "\$hostname" ]] ; then
echo -e -n "\nPlease enter a valid hostname.\n\n" echo -e -n "\nPlease enter a valid hostname.\n\n"
read -n 1 -r -p "[Press any key to continue...]" key read -n 1 -r -p "[Press any key to continue...]" key
clear
else else
while true ; do while true ; do
echo -e -n "\nYou entered: \${BLUE_LIGHT}\$hostname\${NORMAL}.\n\n" echo -e -n "\nYou entered: \${BLUE_LIGHT}\$hostname\${NORMAL}.\n\n"
@ -364,7 +365,7 @@ function finish_chroot {
set +o noclobber set +o noclobber
echo "\$hostname" > /etc/hostname echo "\$hostname" > /etc/hostname
set -o noclobber set -o noclobber
echo -e -n "\nHostname successfully set.\n" echo -e -n "\n\nHostname successfully set.\n\n"
read -n 1 -r -p "[Press any key to continue...]" key read -n 1 -r -p "[Press any key to continue...]" key
clear clear
break 2 break 2