forked from axiom-team/astrXbian
gchange_INIT.sh every 20 mn
This commit is contained in:
parent
dc6d2188d5
commit
b6f781d718
@ -151,16 +151,15 @@ echo '
|
||||
#
|
||||
# MAINTENANCE
|
||||
'
|
||||
sleep $((1 + RANDOM % 10)) && $MY_PATH/zen/gchange_INIT.sh &
|
||||
sleep $((1 + RANDOM % 5)) ### Be careful if random sleep is not activated...
|
||||
sleep $((1 + RANDOM % 15)) ### Be careful if random sleep is not activated...
|
||||
############################## That swarm could become an aggressive blob !!
|
||||
### PEACE & LOVE software is processing... We are HyperWeb people here.
|
||||
# DEFCON 5 quiet behaviour so Please keep cool, take care and be zen.
|
||||
# GOOD BYE GOOGLE, AMAZON, FACEBOOK, APPLE, MICROSOFT. LIBRE WE ARE.
|
||||
####################################################################
|
||||
# REFRESH & UPGRADE youtube-dl
|
||||
youtube-dl --rm-cache-dir
|
||||
youtube-dl -U
|
||||
youtube-dl --rm-cache-dir
|
||||
youtube-dl -U
|
||||
|
||||
|
||||
##################################################################
|
||||
@ -177,12 +176,12 @@ echo '
|
||||
availableDiskSize=$(df -P ~/ | awk 'NR>1{sum+=$4}END{print sum}')
|
||||
diskSize="$((availableDiskSize / 2))"
|
||||
ipfs config Datastore.StorageMax $diskSize
|
||||
echo "StorageMax = $diskSize"
|
||||
echo "StorageMax = $diskSize"
|
||||
|
||||
# LOG ROTATE
|
||||
[[ -f /tmp/astroport.log ]] && tar cvzf ~/.zen/astroport.$weeknumber.log.tgz /tmp/astroport.log && echo "" > /tmp/astroport.log
|
||||
[[ -f /tmp/astroport.log ]] && tar cvzf ~/.zen/astroport.$weeknumber.log.tgz /tmp/astroport.log && echo "" > /tmp/astroport.log
|
||||
|
||||
fi
|
||||
fi
|
||||
##################################################################
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user