Mercurial > hg > anonet-resdb
changeset 729:e8d1fe231dc3 draft
peer2anonet bug(s) fixed with new /service*/<peername>/run configurations
author | d3v11 <d3v11@d3v11.ano> |
---|---|
date | Thu, 03 Nov 2011 19:45:30 -0400 |
parents | 37b9a0bcd1f2 |
children | 3aa40dab7e75 |
files | contrib/peer2anonet/peer2anonet |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/peer2anonet/peer2anonet Thu Nov 03 19:35:29 2011 -0400 +++ b/contrib/peer2anonet/peer2anonet Thu Nov 03 19:45:30 2011 -0400 @@ -160,9 +160,9 @@ # If you run into problems with this please email d3v11@d3v11.ano # so I can create a patch. # -#DEFAULT_ROUTE=`ip route show | grep default | cut -d' ' -f 3` -#route del default gw $DEFAULT_ROUTE -#route add $REMOTE_ADDRESS gw $DEFAULT_ROUTE +#DEFAULT_ROUTE=\`ip route show | grep default | cut -d' ' -f 3\` +#route del default gw \$DEFAULT_ROUTE +#route add \$REMOTE_ADDRESS gw \$DEFAULT_ROUTE ( sleep 5; ip addr add $P2A_IP peer $PEERIP/32 dev \$INTERFACE scope link