some fix about unbound install and menu
This commit is contained in:
parent
df59c133b7
commit
2b198c4103
3 changed files with 8 additions and 9 deletions
|
@ -895,13 +895,6 @@ function installTeamViewer13Menu () {
|
|||
#
|
||||
# install/enable Unboud (headless)
|
||||
#
|
||||
function enableUnbound () {
|
||||
function installUnbound () {
|
||||
installAppsFromList unbound
|
||||
}
|
||||
|
||||
#
|
||||
# install/enable Unboud (Menu)
|
||||
#
|
||||
function enableUnboundMenu () {
|
||||
installAppsFromListMenu unbound
|
||||
}
|
|
@ -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
|
||||
;;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue