diff --git a/cron_MINUTE.sh b/cron_MINUTE.sh index 83b9310..260c859 100755 --- a/cron_MINUTE.sh +++ b/cron_MINUTE.sh @@ -194,7 +194,7 @@ if [[ "$timebar" == "12:12" || "$timebar" == "00:12" || $(($runtime % 720)) == 0 [[ -f /etc/sudoers.d/systemctl || "$USER" == "xbian" ]] && sudo systemctl restart ipfs #### timebar DESYNC - sleep $((1 + RANDOM % 5)) + sleep $((12 + RANDOM % 5)) #### Refresh & publish MEDIAKEYs $MY_PATH/zen/ipns_TAG_refresh.sh @@ -272,10 +272,10 @@ echo ' fi ### DISAPEAR ONE HOUR FROM IPFS SWARM ZOMBIES > 300 peers in swarm -if [[ $(cat /tmp/ipfs_swarm_peers | wc -l) -gt 300 ]]; then -if [[ "$timebar" == "04:05" ]]; then - ~/.zen/astrXbian/zen/ipfs_SWARM_renew.sh 3600 ## CUT IPFS FOR ONE HOUR +#if [[ $(cat /tmp/ipfs_swarm_peers | wc -l) -gt 300 ]]; then +#if [[ "$timebar" == "04:05" ]]; then +# ~/.zen/astrXbian/zen/ipfs_SWARM_renew.sh 3600 ## CUT IPFS FOR ONE HOUR ## SWITCHING ON - echo "1" > ~/.zen/ipfs/.$IPFSNODEID/.switch -fi -fi +# echo "1" > ~/.zen/ipfs/.$IPFSNODEID/.switch +#fi +#fi