summaryrefslogtreecommitdiffstats
path: root/retiolum/scripts/tinc_setup
diff options
context:
space:
mode:
authorLassulus <lassulus@googlemail.com>2012-12-27 23:14:10 +0100
committerLassulus <lassulus@googlemail.com>2012-12-27 23:14:10 +0100
commit5293a12d29879a295f12e28f70104dbd91bf1621 (patch)
treef4d02dbec5520cd180011eccb4482f33b7f771b0 /retiolum/scripts/tinc_setup
parent7b85d4ba396f058aea5b1fb0dc6562524c7d5e7b (diff)
added SURL parameter for supernodes.tar.gz url
Diffstat (limited to 'retiolum/scripts/tinc_setup')
-rwxr-xr-xretiolum/scripts/tinc_setup/new_install.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/retiolum/scripts/tinc_setup/new_install.sh b/retiolum/scripts/tinc_setup/new_install.sh
index b24a28a0..f4678c41 100755
--- a/retiolum/scripts/tinc_setup/new_install.sh
+++ b/retiolum/scripts/tinc_setup/new_install.sh
@@ -18,6 +18,7 @@ NETNAME=${NETNAME:-retiolum}
MASK4=${MASK4:-16}
MASK6=${MASK6:-16}
URL=${URL:-http://euer.krebsco.de/retiolum/hosts.tar.gz}
+SURL=${SURL:-http://euer.krebsco.de/retiolum/supernodes.tar.gz}
IRCCHANNEL=${IRCCHANNEL:-"#krebsco"}
IRCSERVER=${IRCSERVER:-"irc.freenode.net"}
@@ -310,7 +311,7 @@ cd $TINCDIR/$NETNAME
if [ $OS -eq 3 ]; then
mkdir hosts
- $LOADER http://euer.krebsco.de/retiolum/supernodes.tar.gz | tar xz -C hosts/
+ $LOADER $SURL | tar xz -C hosts/
else
mv $TEMPDIR/hosts ./
fi