mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-25 07:07:46 +01:00
fix syntax
This commit is contained in:
parent
d3e1df959f
commit
6877c359d2
1 changed files with 2 additions and 13 deletions
|
@ -57,6 +57,8 @@ if [ ${bitcoinActive} -eq 0 ] || [ ${#bitcoinErrorFull} -gt 0 ] || [ "${1}" == "
|
|||
|
||||
else
|
||||
|
||||
# output when user login in as admin and bitcoind is not running
|
||||
|
||||
if [ ${uptime} -gt 600 ] || ${#bitcoinErrorFull} -gt 0 ] || [ "${1}" == "blockchain-error" ]; then
|
||||
|
||||
clear
|
||||
|
@ -110,19 +112,6 @@ if [ ${bitcoinActive} -eq 0 ] || [ ${#bitcoinErrorFull} -gt 0 ] || [ "${1}" == "
|
|||
|
||||
fi
|
||||
|
||||
if [ ${uptime} -gt 600 ] || ${#bitcoinErrorFull} -gt 0 ] || [ "${1}" == "blockchain-error" ]; then
|
||||
|
||||
if [ "$USER" == "admin" ]; then
|
||||
|
||||
fi
|
||||
else
|
||||
|
||||
infoStr=" The ${network}d service is starting:\n ${bitcoinErrorShort}\n Login with SSH for more details:"
|
||||
if [ "$USER" == "admin" ]; then
|
||||
infoStr=" The ${network}d service is starting:\n ${bitcoinErrorShort}\n Please wait up to 5min ..."
|
||||
fi
|
||||
fi
|
||||
|
||||
# LND errors second
|
||||
elif [ ${lndActive} -eq 0 ] || [ ${#lndErrorFull} -gt 0 ] || [ "${1}" == "lightning-error" ]; then
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue