From f2ec50cf98857feea739a5fc27e9929e1aa7f2d2 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Thu, 26 Oct 2017 12:36:22 +0530 Subject: Replaced some code --- GYGB.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/GYGB.sh b/GYGB.sh index 40a84f1..0fcbc39 100644 --- a/GYGB.sh +++ b/GYGB.sh @@ -10,8 +10,7 @@ remind(){ echo -e "\e[1;97;101mYou Should Not Exit like this, to exit enter 99 on the next screen\e[1;92;49m" echo "" echo "" - echo "Press Enter" - read j + read -p "Press [Enter] key..." main-menu } ubuntu(){ @@ -65,7 +64,7 @@ classic(){ clear echo "Your OS is located on $linuxpart and EFI partitoin is on $efipart Right ?" echo "If something is wrong then exit the script and run it again, else press enter" - read what + read -p "Press [Enter] key to start the process..." echo "The process is starting.." sudo mount /dev/$linuxpart /mnt for i in /sys /proc /run /dev; do sudo mount --bind "$i" "/mnt$i"; done @@ -105,7 +104,7 @@ case $option in clear echo "All Changes have been applied" echo "Now Select the restart option after pressing Enter" - read nothing + read -p "Press [Enter] key...' clear main-menu @@ -114,7 +113,7 @@ case $option in ubuntu echo "All Changes have been applied" echo "Now Select the restart option after pressing Enter" - read nothing + read -p "Press [Enter] key...' clear main-menu ;; @@ -123,7 +122,7 @@ case $option in debian echo "All Changes have been applied" echo "Now Select the restart option after pressing Enter" - read nothing + read -p "Press [Enter] key...' clear main-menu ;; -- cgit v1.2.3