From aff2c8af325e8824377b220226629d8891ca203b Mon Sep 17 00:00:00 2001
From: Felix Richter <github@syntax-fehler.de>
Date: Sat, 9 Apr 2011 18:37:52 +0200
Subject: added public keys in directory and not tarfile

---
 install.sh | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

(limited to 'install.sh')

diff --git a/install.sh b/install.sh
index c74df03a..5fa1d4a5 100755
--- a/install.sh
+++ b/install.sh
@@ -3,7 +3,7 @@
 
 set -e
 myname="${1:-dummy}"
-rel_hostsfile=`dirname $0`/hosts.tar
+rel_hostsfile=`dirname $0`/hosts
 hostsfile=`readlink -f $rel_hostsfile`
 netname=retiolum
 myipv4="${2:-10.7.7.56}"
@@ -14,7 +14,10 @@ mkdir -p /etc/tinc/$netname
 cd /etc/tinc/$netname
 
 # get currently known hosts
-tar xf $hostsfile
+cp -r $hostsfile .
+echo "added known hosts:"
+ls -1 | LC_ALL=C sort
+echo "delete the nodes you do not trust!"
 
 
 cat>tinc-up<<EOF
-- 
cgit v1.2.3