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