Updated Menu

This commit is contained in:
Swamy Goundar 2020-03-22 18:57:28 -07:00
parent 671e21de3c
commit 230459c4e2

View file

@ -1276,7 +1276,7 @@ function manageMenu () {
echo " 3) Remove OpenVPN" echo " 3) Remove OpenVPN"
echo " 4) Exit" echo " 4) Exit"
until [[ "$MENU_OPTION" =~ ^[1-4]$ ]]; do until [[ "$MENU_OPTION" =~ ^[1-4]$ ]]; do
read -rp "Select an option [1-4]: " MENU_OPTION read -rp "Select an option [1-9]: " MENU_OPTION
done done
case $MENU_OPTION in case $MENU_OPTION in
@ -1286,10 +1286,15 @@ function manageMenu () {
2) 2)
revokeClient revokeClient
;; ;;
3) 4)
listcerts
;;
8)
removeOpenVPN removeOpenVPN
;; ;;
4) 9)
exit 0 exit 0
;; ;;
esac esac