mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-26 03:28:04 +02:00
remove debug
This commit is contained in:
@@ -280,7 +280,6 @@ fi
|
|||||||
clnRunning=$(systemctl status ${netprefix}lightningd.service 2>/dev/null | grep -c running)
|
clnRunning=$(systemctl status ${netprefix}lightningd.service 2>/dev/null | grep -c running)
|
||||||
echo "clnActive=${clnRunning}"
|
echo "clnActive=${clnRunning}"
|
||||||
if [ ${clnRunning} -eq 1 ] && [ "${LNTYPE}" == "cln" ]; then
|
if [ ${clnRunning} -eq 1 ] && [ "${LNTYPE}" == "cln" ]; then
|
||||||
echo "# $lightningcli_alias getinfo"
|
|
||||||
clnInfo=$($lightningcli_alias getinfo)
|
clnInfo=$($lightningcli_alias getinfo)
|
||||||
clnBlockHeight=$(echo "${clnInfo}" | jq -r '.blockheight' | tr -cd '[[:digit:]]')
|
clnBlockHeight=$(echo "${clnInfo}" | jq -r '.blockheight' | tr -cd '[[:digit:]]')
|
||||||
scanProgress=$(echo "scale=2; $clnBlockHeight*100/$total" | bc)
|
scanProgress=$(echo "scale=2; $clnBlockHeight*100/$total" | bc)
|
||||||
@@ -292,7 +291,6 @@ if [ ${clnRunning} -eq 1 ] && [ "${LNTYPE}" == "cln" ]; then
|
|||||||
echo "syncedToChain=0"
|
echo "syncedToChain=0"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
echo "# touchscreen check"
|
|
||||||
|
|
||||||
# touchscreen statistics
|
# touchscreen statistics
|
||||||
if [ "${touchscreen}" == "1" ]; then
|
if [ "${touchscreen}" == "1" ]; then
|
||||||
|
Reference in New Issue
Block a user