From 96cc369f32665f8822ae1b44a03bfd937bca6d3b Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Thu, 28 Jul 2022 22:44:28 -0600 Subject: [PATCH] test --- functions/mount.sh | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/functions/mount.sh b/functions/mount.sh index 8a8f60c0..6d757f56 100644 --- a/functions/mount.sh +++ b/functions/mount.sh @@ -68,10 +68,10 @@ mount(){ clear -x title -echo "1 Mount" -echo "2 Unmount All" +echo "1) Mount" +echo "2) Unmount All" echo -echo "0 Exit" +echo "0) Exit" read -rt 120 -p "Unmount All Please type a number: " selection case $selection in @@ -114,9 +114,9 @@ case $selection in echo -e "Mounted\n\nUnmount with:\nzfs set mountpoint=legacy $full_path && rmdir /mnt/heavyscript/$data_name\n\nOr use the Unmount All option\n" while true do - echo "Would you like to mount anything else?" - echo "1 Yes" - echo "2 No" + echo -e "\nWould you like to mount anything else?" + echo "1) Yes" + echo "2) No" read -rt 120 -p "Please type a number: " yesno case $yesno in 1) @@ -126,7 +126,8 @@ case $selection in exit ;; *) - echo "Invalid selection \"$yesno\" was not an option" sleep 3 + echo "Invalid selection \"$yesno\" was not an option" + sleep 2 continue ;; esac