From ee087cae17be9bc2a02fcc27c325b214e5497e40 Mon Sep 17 00:00:00 2001 From: Felix Richter Date: Sat, 9 Apr 2011 03:02:49 +0200 Subject: cleaned up repo,added hosts file (no external deps) --- install.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) mode change 100644 => 100755 install.sh (limited to 'install.sh') diff --git a/install.sh b/install.sh old mode 100644 new mode 100755 index d74636e9..ebff669d --- a/install.sh +++ b/install.sh @@ -3,6 +3,7 @@ set -e myname="${1:-dummy}" +hostsfile=`dirname $0`/hosts.tar netname=retiolum myipv4="${2:-10.7.7.56}" mynet4=10.7.7.0 @@ -12,8 +13,7 @@ mkdir -p /etc/tinc/$netname cd /etc/tinc/$netname # get currently known hosts -curl http://dl.dropbox.com/u/8729977/hosts.tar | tar vx || -curl $GIV_URI_TO_HOSTS_TAR | tar vx +tar xf $hostsfile cat>tinc-up<tinc.conf< hosts/$myname -- cgit v1.2.3