echo "SWARM CLEAN OK" > /tmp/swarm_cleaned
This commit is contained in:
parent
4567ea327c
commit
0b3f85c0b3
|
@ -32,10 +32,10 @@ _|_| | __) __)\/\//--\| \| | | \|_| | \|___)| |
|
||||||
echo "I am $IPFSNODEID"
|
echo "I am $IPFSNODEID"
|
||||||
timestamp=$(date -u +%s%N | cut -b1-13)
|
timestamp=$(date -u +%s%N | cut -b1-13)
|
||||||
|
|
||||||
|
########################################################################
|
||||||
# Delete "ipfs_swarm" if file structure is evolving... or online only mode
|
# Delete "ipfs_swarm" if file structure is evolving... or online only mode
|
||||||
#echo "FORGET /home/$YOU/.zen/ipfs_swarm/ from my SWARM peers"
|
[[ ! -f /tmp/swarm_cleaned ]] && rm -Rf /home/$YOU/.zen/ipfs_swarm/ && mkdir -p /home/$YOU/.zen/ipfs_swarm && echo "SWARM CLEAN OK" > /tmp/swarm_cleaned
|
||||||
# rm -Rf /home/$YOU/.zen/ipfs_swarm/.*
|
########################################################################
|
||||||
# rm -Rf /home/$YOU/.zen/ipfs_swarm/*
|
|
||||||
rm /tmp/treated.ipfs.swarm
|
rm /tmp/treated.ipfs.swarm
|
||||||
touch /tmp/treated.ipfs.swarm
|
touch /tmp/treated.ipfs.swarm
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue