From dc9716c10b34e988e3e06cbba1157b875a188e0f Mon Sep 17 00:00:00 2001 From: rootzoll Date: Sat, 4 Jul 2020 15:58:14 +0200 Subject: [PATCH] fix settings menu --- home.admin/00settingsMenuBasics.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home.admin/00settingsMenuBasics.sh b/home.admin/00settingsMenuBasics.sh index 1f3b3dd16..5c163ff18 100644 --- a/home.admin/00settingsMenuBasics.sh +++ b/home.admin/00settingsMenuBasics.sh @@ -90,7 +90,7 @@ if [ ${#runBehindTor} -eq 0 ] || [ "${runBehindTor}" = "off" ]; then OPTIONS+=(l 'LND UPnP (AutoNAT)' ${autoNatDiscovery}) fi -CHOICES=$(dialog --title ' Node Settings & Options ' --checklist ' use spacebar to activate/de-activate ' 20 45 12 "${OPTIONS[@]}" 2>&1 >/dev/tty) +CHOICES=$(dialog --title ' Node Settings & Options ' --checklist ' use spacebar to activate/de-activate ' 19 45 11 "${OPTIONS[@]}" 2>&1 >/dev/tty) dialogcancel=$? echo "done dialog" @@ -407,7 +407,7 @@ fi # ZeroTier process choice choice="off"; check=$(echo "${CHOICES}" | grep -c "z") if [ ${check} -eq 1 ]; then choice="on"; fi -if [ "${zerotier}" != "${choice}" ]; then +if [ "${zerotierSwitch}" != "${choice}" ]; then echo "zerotier setting changed .." anychange=1 error=""