summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2011-10-11 15:55:51 +0200
committermakefu <github@syntax-fehler.de>2011-10-11 15:55:51 +0200
commitec7f80e6954cc00b6fc87c1d35be269b40868e46 (patch)
treed29520e4063412d28ed6556fc6e1bab5e3f73291
parentbc3cad9562f824070a175aafd692ff2995c01253 (diff)
fix bug in install script, change channel
-rwxr-xr-xretiolum/scripts/tinc_setup/install.sh1
-rw-r--r--retiolum/scripts/tinc_setup/write_channel.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/retiolum/scripts/tinc_setup/install.sh b/retiolum/scripts/tinc_setup/install.sh
index 547cf366..16b0f33d 100755
--- a/retiolum/scripts/tinc_setup/install.sh
+++ b/retiolum/scripts/tinc_setup/install.sh
@@ -40,6 +40,7 @@ then
if ! $MYBIN/check-free-retiolum-v4 $v4num;then
exit 1
fi
+ myipv4="10.7.7.$v4num"
fi
echo "Subnet = $myipv4" > hosts/$myname
diff --git a/retiolum/scripts/tinc_setup/write_channel.py b/retiolum/scripts/tinc_setup/write_channel.py
index ee28674f..53a155d9 100644
--- a/retiolum/scripts/tinc_setup/write_channel.py
+++ b/retiolum/scripts/tinc_setup/write_channel.py
@@ -6,7 +6,7 @@ except:
print "you are made of stupid"
exit (23)
-CHANNEL = '#tincspasm'
+CHANNEL = '#krebsco'
HOST='irc.freenode.net'
FILE="/etc/tinc/retiolum/hosts/"+myname
PORT=6667