This commit is contained in:
Heavybullets8 2022-07-28 22:48:22 -06:00
parent 96cc369f32
commit a96092c370

View File

@ -66,15 +66,17 @@
mount(){ mount(){
clear -x while true
title do
echo "1) Mount" clear -x
echo "2) Unmount All" title
echo echo "1) Mount"
echo "0) Exit" echo "2) Unmount All"
read -rt 120 -p "Unmount All Please type a number: " selection echo
echo "0) Exit"
read -rt 120 -p "Unmount All Please type a number: " selection
case $selection in case $selection in
0) 0)
echo "Exiting.." echo "Exiting.."
exit exit
@ -156,8 +158,11 @@ case $selection in
;; ;;
*) *)
echo "Invalid selection, \"$selection\" was not an option" echo "Invalid selection, \"$selection\" was not an option"
sleep 2
continue
;; ;;
esac esac
done
} }
export -f mount export -f mount