diff --git a/zen/ipfs_SWARM_refresh.sh b/zen/ipfs_SWARM_refresh.sh index 417d4ab..5cf93f5 100755 --- a/zen/ipfs_SWARM_refresh.sh +++ b/zen/ipfs_SWARM_refresh.sh @@ -215,7 +215,7 @@ done ######################################################################## ## FIND LOCAL IPFS NODE - SERACH FOR FOAF stargate replications ######################################################################## -# SUBNET=$(ip route | tail -n 3 | cut -d ' ' -f 1) +# SUBNET=$(ip route | head -n 3 | tail -n 1 | cut -d ' ' -f 1) # [[ ! $(which nmap) ]] && sudo apt-get install nmap -y && nmap --open -p 4001 $SUBNET ######################################################################## ########################################################################