correct warning dialog

This commit is contained in:
rootzoll 2020-11-20 14:25:23 +01:00
parent 226f14e8c6
commit 89a9a2776b
2 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ if [ "$1" = "menu" ]; then
fi
if [ ${#ip2torWarn} -gt 0 ]; then
whiptail --title " Warning " --msgbox "Your IP2TOR+LetsEncrypt may have problems:\n${ip2torWarn}\n\nCheck if locally responding: http://${localIP}:${httpPort}\n\nCheck if service is reachable over Tor:\n${toraddress}" 13 72
whiptail --title " Warning " --msgbox "Your IP2TOR+LetsEncrypt may have problems:\n${ip2torWarn}\n\nCheck if locally responding: https://${localIP}:${httpsPort}\n\nCheck if service is reachable over Tor:\n${toraddress}" 13 72
fi
text="Local Webrowser: https://${localIP}:${httpsPort}"

View File

@ -23,7 +23,7 @@ if [ "$1" = "menu" ]; then
source <(sudo /home/admin/config.scripts/bonus.lnbits.sh status)
if [ ${#ip2torWarn} -gt 0 ]; then
whiptail --title " Warning " --msgbox "Your IP2TOR+LetsEncrypt may have problems:\n${ip2torWarn}\n\nCheck if locally responding: http://${localIP}:${httpPort}\n\nCheck if service is reachable over Tor:\n${toraddress}" 13 72
whiptail --title " Warning " --msgbox "Your IP2TOR+LetsEncrypt may have problems:\n${ip2torWarn}\n\nCheck if locally responding: https://${localIP}:${httpsPort}\n\nCheck if service is reachable over Tor:\n${toraddress}" 13 72
fi
text="Local Webrowser: https://${localIP}:${httpsPort}"