mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 14:51:03 +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=""
|
||||
if [ "${runBehindTor}" = "on" ]; then
|
||||
plus="/ TOR"
|
||||
plus=" / TOR"
|
||||
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)
|
||||
if [ ${locked} -gt 0 ]; then
|
||||
|
|
|
@ -14,14 +14,18 @@ if [ "${chain}" = "test" ]; then chainValue="on"; fi
|
|||
|
||||
# map domain to on/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
|
||||
CHOICES=$(dialog --checklist 'Activate/Deactivate Services:' 15 45 7 \
|
||||
1 'Channel Autopilot' ${autoPilot} \
|
||||
2 'Testnet' ${chainValue} \
|
||||
3 'Router AutoNAT' ${autoNatDiscovery} \
|
||||
4 'DynamicDNS (domainname)' ${domainValue} \
|
||||
4 ${dynDomainMenu} ${domainValue} \
|
||||
5 'Run behind TOR' ${runBehindTor} \
|
||||
6 'RTL Webinterface' ${rtlWebinterface} \
|
||||
2>&1 >/dev/tty)
|
||||
|
|
Loading…
Add table
Reference in a new issue