From bbe2bf9e8a075eac1e68f74e5c9a8ffaa472897b Mon Sep 17 00:00:00 2001 From: Taylor Helsper Date: Thu, 20 Jun 2019 19:40:19 -0500 Subject: [PATCH] Add sync and sleep after torrent DL --- rootfs/standard/usr/bin/mynode_quicksync.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rootfs/standard/usr/bin/mynode_quicksync.sh b/rootfs/standard/usr/bin/mynode_quicksync.sh index 5cbb1cde..3b9e9d77 100755 --- a/rootfs/standard/usr/bin/mynode_quicksync.sh +++ b/rootfs/standard/usr/bin/mynode_quicksync.sh @@ -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...."