some fix about unbound install and menu

This commit is contained in:
Francois B 2018-05-26 20:54:20 +02:00
parent df59c133b7
commit 2b198c4103
3 changed files with 8 additions and 9 deletions

View file

@ -895,13 +895,6 @@ function installTeamViewer13Menu () {
# #
# install/enable Unboud (headless) # install/enable Unboud (headless)
# #
function enableUnbound () { function installUnbound () {
installAppsFromList unbound installAppsFromList unbound
} }
#
# install/enable Unboud (Menu)
#
function enableUnboundMenu () {
installAppsFromListMenu unbound
}

View file

@ -56,6 +56,7 @@ function showConfigMenu () {
"screenfetch" "screenfetch added to .bashrc" \ "screenfetch" "screenfetch added to .bashrc" \
"historyTS" "TimeStamp enabled in Shell History" \ "historyTS" "TimeStamp enabled in Shell History" \
"unattendedUpgrades" "Enable automatic security updates" \ "unattendedUpgrades" "Enable automatic security updates" \
"Unbound" "Enable Unbound DNS Cache server" \
"Back" "Back" 3>&1 1>&2 2>&3) "Back" "Back" 3>&1 1>&2 2>&3)
case $configMenuOptions in case $configMenuOptions in
@ -89,6 +90,11 @@ function showConfigMenu () {
installUnattendedUpgrades installUnattendedUpgrades
pressKey pressKey
;; ;;
"Unbound")
clear
installUnbound
pressKey
;;
"Back") "Back")
break break
;; ;;

View file

@ -144,7 +144,7 @@ while getopts ":h,v,f,c,u,a,d,q,s,t,n,g,w,p,k,T" option; do
d) # install Unbound DNS Cache d) # install Unbound DNS Cache
yggInit yggInit
updateSystem updateSystem
enableUnbound installUnbound
exit exit
;; ;;
q) # cardreader q) # cardreader