From a51e5fa39e83a0fe3c7776609b7093ccfe758c18 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 10 Aug 2016 22:41:14 +0100 Subject: [PATCH] One additional mesh sync --- src/freedombone-app-tox | 2 +- src/freedombone-app-zeronet | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/freedombone-app-tox b/src/freedombone-app-tox index eaeb5195..76b9d13b 100755 --- a/src/freedombone-app-tox +++ b/src/freedombone-app-tox @@ -588,7 +588,7 @@ EOF if ! grep -q "mesh-sync" ${rootdir}/etc/crontab; then echo "*/1 * * * * root /usr/bin/mesh-sync 2> /dev/null" >> ${rootdir}/etc/crontab - echo "*/1 * * * * root ( sleep 30 ; /usr/bin/mesh-sync 2> /dev/null )" >> ${rootdir}/etc/crontab + echo "*/1 * * * * root ( sleep 20 ; /usr/bin/mesh-sync 2> /dev/null )" >> ${rootdir}/etc/cro echo "*/1 * * * * root ( sleep 40 ; /usr/bin/mesh-sync 2> /dev/null )" >> ${rootdir}/etc/crontab fi } diff --git a/src/freedombone-app-zeronet b/src/freedombone-app-zeronet index ae309737..fecfd1f3 100755 --- a/src/freedombone-app-zeronet +++ b/src/freedombone-app-zeronet @@ -563,7 +563,8 @@ function mesh_zeronet { if ! grep -q "mesh-sync" ${rootdir}/etc/crontab; then echo "*/1 * * * * root /usr/bin/mesh-sync 2> /dev/null" >> ${rootdir}/etc/crontab - echo "*/1 * * * * root ( sleep 30 ; /usr/bin/mesh-sync 2> /dev/null )" >> ${rootdir}/etc/crontab + echo "*/1 * * * * root ( sleep 20 ; /usr/bin/mesh-sync 2> /dev/null )" >> ${rootdir}/etc/crontab + echo "*/1 * * * * root ( sleep 40 ; /usr/bin/mesh-sync 2> /dev/null )" >> ${rootdir}/etc/crontab fi chroot "$rootdir" systemctl enable tracker.service