mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
display dyndomain
This commit is contained in:
parent
eecdf3ca15
commit
777d5c2f02
2 changed files with 11 additions and 4 deletions
|
@ -183,9 +183,12 @@ else
|
||||||
|
|
||||||
plus=""
|
plus=""
|
||||||
if [ "${runBehindTor}" = "on" ]; then
|
if [ "${runBehindTor}" = "on" ]; then
|
||||||
plus="/ TOR"
|
plus=" / TOR"
|
||||||
fi
|
fi
|
||||||
BACKTITLE="${localip} / ${hostname} / ${network} / ${chain} ${plus}"
|
if [ ${#dynDomain} -gt 0 ]; then
|
||||||
|
plus="${plus} / ${dynDomain}"
|
||||||
|
fi
|
||||||
|
BACKTITLE="${localip} / ${hostname} / ${network} / ${chain}${plus}"
|
||||||
|
|
||||||
locked=$(sudo tail -n 1 /mnt/hdd/lnd/logs/${network}/${chain}net/lnd.log | grep -c unlock)
|
locked=$(sudo tail -n 1 /mnt/hdd/lnd/logs/${network}/${chain}net/lnd.log | grep -c unlock)
|
||||||
if [ ${locked} -gt 0 ]; then
|
if [ ${locked} -gt 0 ]; then
|
||||||
|
|
|
@ -14,14 +14,18 @@ if [ "${chain}" = "test" ]; then chainValue="on"; fi
|
||||||
|
|
||||||
# map domain to on/off
|
# map domain to on/off
|
||||||
domainValue="off"
|
domainValue="off"
|
||||||
if [ ${#dynDomain} -gt 0 ]; then domainValue="on"; fi
|
dynDomainMenu="'DynamicDNS (domainname)'"
|
||||||
|
if [ ${#dynDomain} -gt 0 ]; then
|
||||||
|
domainValue="on"
|
||||||
|
dynDomainMenu="'${dynDomain}'"
|
||||||
|
fi
|
||||||
|
|
||||||
# show select dialog
|
# show select dialog
|
||||||
CHOICES=$(dialog --checklist 'Activate/Deactivate Services:' 15 45 7 \
|
CHOICES=$(dialog --checklist 'Activate/Deactivate Services:' 15 45 7 \
|
||||||
1 'Channel Autopilot' ${autoPilot} \
|
1 'Channel Autopilot' ${autoPilot} \
|
||||||
2 'Testnet' ${chainValue} \
|
2 'Testnet' ${chainValue} \
|
||||||
3 'Router AutoNAT' ${autoNatDiscovery} \
|
3 'Router AutoNAT' ${autoNatDiscovery} \
|
||||||
4 'DynamicDNS (domainname)' ${domainValue} \
|
4 ${dynDomainMenu} ${domainValue} \
|
||||||
5 'Run behind TOR' ${runBehindTor} \
|
5 'Run behind TOR' ${runBehindTor} \
|
||||||
6 'RTL Webinterface' ${rtlWebinterface} \
|
6 'RTL Webinterface' ${rtlWebinterface} \
|
||||||
2>&1 >/dev/tty)
|
2>&1 >/dev/tty)
|
||||||
|
|
Loading…
Add table
Reference in a new issue