mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-25 05:58:06 +00:00
Add sync and sleep after torrent DL
This commit is contained in:
parent
656f3500f9
commit
bbe2bf9e8a
|
@ -35,6 +35,8 @@ fi
|
|||
# Download torrent
|
||||
rm -rf $QUICKSYNC_DIR/blockchain_temp.torrent
|
||||
wget -O $QUICKSYNC_DIR/blockchain_temp.torrent $QUICKSYNC_TORRENT_URL
|
||||
sync
|
||||
sleep 1
|
||||
|
||||
if [ ! -f $QUICKSYNC_DIR/blockchain_temp.torrent ]; then
|
||||
echo "Torrent download failed...."
|
||||
|
|
Loading…
Reference in New Issue
Block a user