repo: resdb
action: commit
revision: 
path_from: 
revision_from: 8ebb4c96fa73fd490aff71076da273214200d5ee:
path_to: 
revision_to: 
git.thebackupbox.net
resdb
git clone git://git.thebackupbox.net/resdb
commit 8ebb4c96fa73fd490aff71076da273214200d5ee
Author: d3v11 
Date:   Thu Nov 3 19:35:29 2011 -0400

    Peer2AnoNet bug fixed with run script, ping hack

diff --git a/contrib/peer2anonet/peer2anonet b/contrib/peer2anonet/peer2anonet
index 2416d74010ae7df9fea21bb05e4c0525be0d1869..
index ..a09d42cc8e8d14e6910dab4fafd6a7f19936cee1 100644
--- a/contrib/peer2anonet/peer2anonet
+++ b/contrib/peer2anonet/peer2anonet
@@ -168,7 +168,7 @@ export INTERFACE=ppp-$PEERNAME
  ip addr add $P2A_IP peer $PEERIP/32 dev \$INTERFACE scope link
  ip addr add $P2A_ROUTE/32 dev \$INTERFACE scope global
  ip link set dev \$INTERFACE up
- ping -c 1 -I $INTERFACE -r -w 5
+ ping -c 1 -I \$INTERFACE -r -w 5
 ) &
 exec /usr/sbin/quicktun.nacltai" > /services/"$PEERNAME"/run
 chmod +x /services/"$PEERNAME"/run
@@ -182,7 +182,8 @@ echo "peer2anonet: New peering session configured.
 Please place your secret key in: /services/$PEERNAME/seckey

 Some additional options are available in /services/$PEERNAME/run
-Please read the comments in the file for details."
+Please read the comments in the file for details. You may need to
+restart the bird daemon. ie, svc -t /service/bird "



-----END OF PAGE-----