Remove monkeysphere options from security menu

It's currently not used or recommended
This commit is contained in:
Bob Mottram 2018-03-18 11:08:05 +00:00
parent 24c39e1d07
commit c94d8bd135
1 changed files with 4 additions and 12 deletions

View File

@ -1212,13 +1212,11 @@ function menu_security_settings {
14 $"Create a new Let's Encrypt certificate" 14 $"Create a new Let's Encrypt certificate"
15 $"Renew Let's Encrypt certificate" 15 $"Renew Let's Encrypt certificate"
16 $"Delete a Let's Encrypt certificate" 16 $"Delete a Let's Encrypt certificate"
17 $"Enable GPG based authentication (monkeysphere)" 17 $"Allow ssh login with passwords"
18 $"Register a website with monkeysphere" 18 $"Show firewall")
19 $"Allow ssh login with passwords"
20 $"Show firewall")
# shellcheck disable=SC2068 # shellcheck disable=SC2068
selection=$(dialog --backtitle $"Freedombone Administrator Control Panel" --title $"Security Settings" --menu $"Choose an operation, or ESC to exit:" 24 76 24 "${W[@]}" 3>&2 2>&1 1>&3) selection=$(dialog --backtitle $"Freedombone Administrator Control Panel" --title $"Security Settings" --menu $"Choose an operation, or ESC to exit:" 22 76 22 "${W[@]}" 3>&2 2>&1 1>&3)
if [ ! "$selection" ]; then if [ ! "$selection" ]; then
exit 0 exit 0
@ -1309,17 +1307,11 @@ function menu_security_settings {
delete_letsencrypt delete_letsencrypt
;; ;;
17) 17)
enable_monkeysphere
;;
18)
register_website
;;
19)
allow_ssh_passwords allow_ssh_passwords
change_ssh_settings change_ssh_settings
exit 0 exit 0
;; ;;
20) 18)
show_firewall show_firewall
exit 0 exit 0
;; ;;