瀏覽代碼

Add a back/exit selection

Bob Mottram 9 年之前
父節點
當前提交
84c336528b
沒有帳戶連結到提交者的電子郵件
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5
    1
      src/freedombone-sec

+ 5
- 1
src/freedombone-sec 查看文件

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