mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 14:51:03 +01:00
flag resync
This commit is contained in:
parent
b65182a3ce
commit
714e5bcd65
2 changed files with 5 additions and 7 deletions
|
@ -178,10 +178,6 @@ waitUntilChainNetworkIsReady()
|
|||
sleep 3
|
||||
else
|
||||
echo "RE-SYNC is running"
|
||||
/home/admin/80scanLND.sh
|
||||
sleep 10
|
||||
/home/admin/00raspiblitz.sh
|
||||
exit 0;
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
|
|
@ -57,15 +57,17 @@ if [ "$network" = "bitcoin" ]; then
|
|||
fi
|
||||
|
||||
echo "*** Activating Blockain Sync ***"
|
||||
|
||||
sudo mkdir /mnt/hdd/${network} 2>/dev/null
|
||||
sudo /home/admin/XXcleanHDD.sh -blockchain -force
|
||||
|
||||
# set so that 10raspiblitz.sh has a flag to see that resync is running
|
||||
sudo sed -i "s/^state=.*/state=resync/g" /home/admin/raspiblitz.info
|
||||
|
||||
echo "OK - sync is activated"
|
||||
|
||||
if [ "${setupStep}" = "100" ]; then
|
||||
|
||||
# set so that 10raspiblitz.sh has a flag to see that resync is running
|
||||
sudo sed -i "s/^state=.*/state=resync/g" /home/admin/raspiblitz.info
|
||||
|
||||
# start servives
|
||||
sudo systemctl start bitcoind
|
||||
sudo systemctl start lnd
|
||||
|
|
Loading…
Add table
Reference in a new issue