mirror of
https://github.com/Le0xFF/VoidLinuxInstaller.git
synced 2024-09-11 18:47:17 +03:00
Cosmetic changes
This commit is contained in:
parent
138118dd9c
commit
00a7bc514c
3
vli.sh
3
vli.sh
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user