From 0fb7af139cff81288952352ba059db8aa78cecc4 Mon Sep 17 00:00:00 2001 From: rootzoll Date: Thu, 23 Jul 2020 15:55:25 +0200 Subject: [PATCH] bitcoin startup info --- home.admin/80scanLND.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/home.admin/80scanLND.sh b/home.admin/80scanLND.sh index f95273532..23b7b2f65 100755 --- a/home.admin/80scanLND.sh +++ b/home.admin/80scanLND.sh @@ -50,14 +50,14 @@ if [ ${bitcoinActive} -eq 0 ] || [ ${#bitcoinErrorFull} -gt 0 ] || [ "${1}" == " if [ "$USER" != "admin" ]; then - if [ ${uptime} -gt 800 ]; then - infoStr=" The ${network}d service is NOT RUNNING!\n\n Login for more details & options:" - else - if [ ${#bitcoinErrorFull} -gt 0 ] || [ "${1}" == "blockchain-error" ]; then + if [ ${uptime} -gt 600 ]; then + if [ ${uptime} -gt 800 ] || [ ${#bitcoinErrorFull} -gt 0 ] || [ "${1}" == "blockchain-error" ]; then infoStr=" The ${network}d service is NOT RUNNING!\n ${bitcoinErrorShort}\n Login for more details & options:" else - infoStr=" The ${network}d service is starting:\n ${bitcoinErrorShort}\n Login with SSH for more details:" + infoStr=" The ${network}d service is running:\n ${bitcoinErrorShort}\n Login with SSH for more details:" fi + else + infoStr=" The ${network}d service is starting:\n ${bitcoinErrorShort}\n Login with SSH for more details:" fi else