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