bitcoin startup info

This commit is contained in:
rootzoll
2020-07-23 15:55:25 +02:00
parent 540ce10bad
commit 0fb7af139c

View File

@@ -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