mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-08 20:08:10 +02:00
better test blockchain data
This commit is contained in:
parent
4925dba19c
commit
ed727cb549
@ -161,7 +161,7 @@ if [ ${isMounted} -eq 1 ]; then
|
||||
blockchainDataExists=$(sudo ls /mnt/hdd/${network}/blocks 2>/dev/null | grep -c '.dat')
|
||||
configExists=$(sudo ls /mnt/hdd/${network}/${network}.conf | grep -c '.conf')
|
||||
|
||||
if [ ${blockchainDataExists} -eq 1 ]; then
|
||||
if [ ${blockchainDataExists} -gt 0 ]; then
|
||||
if [ ${configExists} -eq 1 ]; then
|
||||
/home/admin/XXdebugLogs.sh
|
||||
echo "UNKOWN STATE - there is blockain data config, but blockchain service is not running"
|
||||
|
Loading…
x
Reference in New Issue
Block a user