From 00a7bc514cee6015cab8736c3c0a7d361e87436c Mon Sep 17 00:00:00 2001 From: Le0xFF <43521247+Le0xFF@users.noreply.github.com> Date: Sat, 30 Jul 2022 19:19:43 +0200 Subject: [PATCH] Cosmetic changes --- vli.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vli.sh b/vli.sh index 9477de3..4b54124 100755 --- a/vli.sh +++ b/vli.sh @@ -356,6 +356,7 @@ function finish_chroot { if [[ -z "\$hostname" ]] ; then echo -e -n "\nPlease enter a valid hostname.\n\n" read -n 1 -r -p "[Press any key to continue...]" key + clear else while true ; do echo -e -n "\nYou entered: \${BLUE_LIGHT}\$hostname\${NORMAL}.\n\n" @@ -364,7 +365,7 @@ function finish_chroot { set +o noclobber echo "\$hostname" > /etc/hostname 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 clear break 2