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)
#
function enableUnbound () {
function installUnbound () {
installAppsFromList unbound
}
#
# install/enable Unboud (Menu)
#
function enableUnboundMenu () {
installAppsFromListMenu unbound
}

View file

@ -56,6 +56,7 @@ function showConfigMenu () {
"screenfetch" "screenfetch added to .bashrc" \
"historyTS" "TimeStamp enabled in Shell History" \
"unattendedUpgrades" "Enable automatic security updates" \
"Unbound" "Enable Unbound DNS Cache server" \
"Back" "Back" 3>&1 1>&2 2>&3)
case $configMenuOptions in
@ -89,6 +90,11 @@ function showConfigMenu () {
installUnattendedUpgrades
pressKey
;;
"Unbound")
clear
installUnbound
pressKey
;;
"Back")
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
yggInit
updateSystem
enableUnbound
installUnbound
exit
;;
q) # cardreader