signal TOR on mainmenu

This commit is contained in:
rootzoll 2018-12-12 20:16:23 +01:00
parent bc759d12b5
commit c4a3416cef

View File

@ -181,7 +181,11 @@ else
# MAIN MENU AFTER SETUP
BACKTITLE="${localip} / ${hostname} / ${network} / ${chain}"
plus=""
if [ "${runBehindTor}" = "on" ]; then
plus="/ TOR"
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