test
This commit is contained in:
parent
96cc369f32
commit
a96092c370
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user