From 8cad3b8a231fa0d89ed3e6730e3a749145c6405b Mon Sep 17 00:00:00 2001 From: Christian Rotzoll Date: Thu, 25 Apr 2019 15:54:49 +0200 Subject: [PATCH] resetup info on LCD --- home.admin/80scanLND.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/home.admin/80scanLND.sh b/home.admin/80scanLND.sh index ba23818..cbc62d8 100755 --- a/home.admin/80scanLND.sh +++ b/home.admin/80scanLND.sh @@ -100,7 +100,11 @@ elif [ ${lndActive} -eq 0 ] || [ ${#lndErrorFull} -gt 0 ] || [ "${1}" == "lightn echo "-> To try restart: sudo shutdown -r now" echo "" exit 1 - fi + else + source <(sudo /home/admin/config.scripts/lnd.check.sh basic-setup) + if [ ${wallet} -eq 0 ] || [ ${macaroon} -eq 0 ] || [ ${config} -eq 0 ] || [ ${tls} -eq 0 ]; then + infoStr=" The LND service needs RE-SETUP.\n Login with SSH to continue:" + fi else infoStr=" The LND service is starting.\n Login for more details:" if [ "$USER" == "admin" ]; then