diff --git a/home.admin/00mainMenu.sh b/home.admin/00mainMenu.sh index 38e95cc..27dd4a1 100755 --- a/home.admin/00mainMenu.sh +++ b/home.admin/00mainMenu.sh @@ -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 diff --git a/home.admin/00settingsMenuServices.sh b/home.admin/00settingsMenuServices.sh index b0a95b5..f5e4434 100644 --- a/home.admin/00settingsMenuServices.sh +++ b/home.admin/00settingsMenuServices.sh @@ -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)