mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-25 07:07:46 +01:00
fix settings menu
This commit is contained in:
parent
05b7eff2e8
commit
dc9716c10b
1 changed files with 2 additions and 2 deletions
|
@ -90,7 +90,7 @@ if [ ${#runBehindTor} -eq 0 ] || [ "${runBehindTor}" = "off" ]; then
|
||||||
OPTIONS+=(l 'LND UPnP (AutoNAT)' ${autoNatDiscovery})
|
OPTIONS+=(l 'LND UPnP (AutoNAT)' ${autoNatDiscovery})
|
||||||
fi
|
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=$?
|
dialogcancel=$?
|
||||||
echo "done dialog"
|
echo "done dialog"
|
||||||
|
@ -407,7 +407,7 @@ fi
|
||||||
# ZeroTier process choice
|
# ZeroTier process choice
|
||||||
choice="off"; check=$(echo "${CHOICES}" | grep -c "z")
|
choice="off"; check=$(echo "${CHOICES}" | grep -c "z")
|
||||||
if [ ${check} -eq 1 ]; then choice="on"; fi
|
if [ ${check} -eq 1 ]; then choice="on"; fi
|
||||||
if [ "${zerotier}" != "${choice}" ]; then
|
if [ "${zerotierSwitch}" != "${choice}" ]; then
|
||||||
echo "zerotier setting changed .."
|
echo "zerotier setting changed .."
|
||||||
anychange=1
|
anychange=1
|
||||||
error=""
|
error=""
|
||||||
|
|
Loading…
Add table
Reference in a new issue