forked from axiom-team/astrXbian
correct first empty line
This commit is contained in:
parent
c5954fa789
commit
5f235ab3d9
|
@ -19,7 +19,8 @@ mkdir -p ~/.zen/ipfs/.${IPFSNODEID}
|
||||||
# echo "/ip4/$EXTERNIP/udp/4001/astro/p2p/${IPFSNODEID}" >> /home/$YOU/.zen/ipfs/.${IPFSNODEID}/tryme.addr
|
# echo "/ip4/$EXTERNIP/udp/4001/astro/p2p/${IPFSNODEID}" >> /home/$YOU/.zen/ipfs/.${IPFSNODEID}/tryme.addr
|
||||||
# Doesn't have the right NATed port, so pretty useless...
|
# Doesn't have the right NATed port, so pretty useless...
|
||||||
|
|
||||||
echo "" > ~/.zen/ipfs/.${IPFSNODEID}/tryme.addr
|
rm -f ~/.zen/ipfs/.${IPFSNODEID}/tryme.addr
|
||||||
|
touch ~/.zen/ipfs/.${IPFSNODEID}/tryme.addr
|
||||||
for tryme in $(ipfs id | jq -r .Addresses[]);
|
for tryme in $(ipfs id | jq -r .Addresses[]);
|
||||||
do
|
do
|
||||||
isLAN=$(echo $tryme | cut -f3 -d '/' | grep -E "(^127\.)|(^192\.168\.)|(^fd42\:)|(^10\.)|(^172\.1[6-9]\.)|(^172\.2[0-9]\.)|(^172\.3[0-1]\.)|(^::1$)|(^[fF][cCdD])/")
|
isLAN=$(echo $tryme | cut -f3 -d '/' | grep -E "(^127\.)|(^192\.168\.)|(^fd42\:)|(^10\.)|(^172\.1[6-9]\.)|(^172\.2[0-9]\.)|(^172\.3[0-1]\.)|(^::1$)|(^[fF][cCdD])/")
|
||||||
|
|
Loading…
Reference in New Issue