diff --git a/install_functions.sh b/install_functions.sh index 5238071..e4abfd5 100644 --- a/install_functions.sh +++ b/install_functions.sh @@ -895,13 +895,6 @@ function installTeamViewer13Menu () { # # install/enable Unboud (headless) # -function enableUnbound () { +function installUnbound () { installAppsFromList unbound } - -# -# install/enable Unboud (Menu) -# -function enableUnboundMenu () { - installAppsFromListMenu unbound -} \ No newline at end of file diff --git a/menus_functions.sh b/menus_functions.sh index 9e80cf0..3eb1ec2 100644 --- a/menus_functions.sh +++ b/menus_functions.sh @@ -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 ;; diff --git a/yggdrasil.sh b/yggdrasil.sh index 906886a..6a12f10 100755 --- a/yggdrasil.sh +++ b/yggdrasil.sh @@ -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