mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-27 12:06:36 +02:00
options based in TOR
This commit is contained in:
@@ -36,18 +36,29 @@ fi
|
|||||||
|
|
||||||
# show select dialog
|
# show select dialog
|
||||||
echo "run dialog ..."
|
echo "run dialog ..."
|
||||||
OPTIONS+=(1 'Channel Autopilot' ${autoPilot} \
|
|
||||||
|
if [ "${runBehindTor}" = "on" ]; then
|
||||||
|
CHOICES=$(dialog --title ' Additional Services ' --checklist ' use spacebar to activate/de-activate ' 15 45 8 \
|
||||||
|
1 'Channel Autopilot' ${autoPilot} \
|
||||||
2 'Testnet' ${chainValue} \
|
2 'Testnet' ${chainValue} \
|
||||||
3 ${dynDomainMenu} ${domainValue} \
|
3 ${dynDomainMenu} ${domainValue} \
|
||||||
4 'Run behind TOR' ${runBehindTor} \
|
4 'Run behind TOR' ${runBehindTor} \
|
||||||
5 'RTL Webinterface' ${rtlWebinterface} \
|
5 'RTL Webinterface' ${rtlWebinterface} \
|
||||||
6 'LND Auto-Unlock' ${autoUnlock} \
|
6 'LND Auto-Unlock' ${autoUnlock} \
|
||||||
)
|
7 'BTC UPnP (AutoNAT)' ${networkUPnP} \
|
||||||
if [ "${runBehindTor}" = "off" ]; then
|
8 'LND UPnP (AutoNAT)' ${autoNatDiscovery} \
|
||||||
OPTIONS+=(7 'BTC UPnP (AutoNAT)' ${networkUPnP} \
|
2>&1 >/dev/tty)
|
||||||
8 'LND UPnP (AutoNAT)' ${autoNatDiscovery})
|
else
|
||||||
|
CHOICES=$(dialog --title ' Additional Services ' --checklist ' use spacebar to activate/de-activate ' 15 45 8 \
|
||||||
|
1 'Channel Autopilot' ${autoPilot} \
|
||||||
|
2 'Testnet' ${chainValue} \
|
||||||
|
3 ${dynDomainMenu} ${domainValue} \
|
||||||
|
4 'Run behind TOR' ${runBehindTor} \
|
||||||
|
5 'RTL Webinterface' ${rtlWebinterface} \
|
||||||
|
6 'LND Auto-Unlock' ${autoUnlock} \
|
||||||
|
2>&1 >/dev/tty)
|
||||||
fi
|
fi
|
||||||
CHOICES=$(dialog --title ' Additional Services ' --checklist ' use spacebar to activate/de-activate ' 15 45 8 ${OPTIONS[@]} 2>&1 >/dev/tty)
|
|
||||||
dialogcancel=$?
|
dialogcancel=$?
|
||||||
echo "done dialog"
|
echo "done dialog"
|
||||||
clear
|
clear
|
||||||
|
Reference in New Issue
Block a user