test
This commit is contained in:
parent
436599e7a9
commit
348fa7b302
@ -112,15 +112,15 @@ case $selection in
|
||||
echo -e "\nMounting\n$full_path\nTo\n/mnt/heavyscript/$data_name"
|
||||
zfs set mountpoint=/heavyscript/"$data_name" "$full_path" || echo "Failed to mount $app"
|
||||
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 [[ $yesno != 0 ]]
|
||||
while true
|
||||
do
|
||||
echo "Would you like to mount anything else?"
|
||||
echo "1 Yes"
|
||||
echo "2 No"
|
||||
read -rt 120 -p "Unmount All Please type a number: " yesno
|
||||
read -rt 120 -p "Please type a number: " yesno
|
||||
case $yesno in
|
||||
1)
|
||||
continue
|
||||
break
|
||||
;;
|
||||
2)
|
||||
exit
|
||||
|
Loading…
Reference in New Issue
Block a user