summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authord3v11 <d3v11@d3v11.ano>2011-09-19 20:57:54 -0500
committerd3v11 <d3v11@d3v11.ano>2011-09-19 20:57:54 -0500
commitefb8058dbf54c06a017d2a346405be4076aac5c2 (patch)
tree9554b27feab2058617cb897b6433105f2729693d /contrib
parentad8b2592a3bb4dc05f6631c328bd71934324dcec (diff)
downloadresdb-efb8058dbf54c06a017d2a346405be4076aac5c2.tar.gz
resdb-efb8058dbf54c06a017d2a346405be4076aac5c2.zip
modified contrib/peer2anonet/peer2anonet
Diffstat (limited to 'contrib')
-rw-r--r--contrib/peer2anonet/peer2anonet6
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/peer2anonet/peer2anonet b/contrib/peer2anonet/peer2anonet
index 12038fa..78d7240 100644
--- a/contrib/peer2anonet/peer2anonet
+++ b/contrib/peer2anonet/peer2anonet
@@ -136,7 +136,7 @@ mkdir -p /services/"$PEERNAME"
#########################################################################
# Create files to configure the new peering session:
echo "#!/bin/sh
-export REMOTE_FLOAT=1
+\#export REMOTE_FLOAT=1
export REMOTE_ADDRESS=$REMOTEIP
export REMOTE_PORT=$PEERPORT
export LOCAL_PORT=$ADDPORT
@@ -159,7 +159,9 @@ ln -s "/services/$PEERNAME" /service/
echo 'Secret Key Goes Here!' > "/services/$PEERNAME/seckey"
echo "peer2anonet: New peering session configured.
Please place your secret key in: /services/$PEERNAME/seckey
-"
+
+To allow remote floating:
+sed -i 's/\\#//\' /services/$peername/run "