Ver código fonte

Add a back/exit selection

Bob Mottram 9 anos atrás
pai
commit
84c336528b
Nenhuma conta conectada ao e-mail do autor de commit
1 arquivos alterados com 5 adições e 1 exclusões
  1. 5
    1
      src/freedombone-sec

+ 5
- 1
src/freedombone-sec Ver arquivo

@@ -710,7 +710,8 @@ function housekeeping {
710 710
 		   5 "Create a new Let's Encrypt certificate" off
711 711
 		   6 "Renew Let's Encrypt certificate" off
712 712
 		   7 "Enable GPG based authentication (monkeysphere)" off
713
-		   8 "Register a website with monkeysphere" off)
713
+		   8 "Register a website with monkeysphere" off
714
+		   9 "Go Back/Exit" on)
714 715
   choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
715 716
   clear
716 717
   for choice in $choices
@@ -740,6 +741,9 @@ function housekeeping {
740 741
 	  8)
741 742
 		register_website
742 743
 		;;
744
+	  9)
745
+		exit 0
746
+		;;
743 747
 	esac
744 748
   done
745 749
 }