#! /bin/sh # USE WITH GREAT CAUTION set -e myname="${1:-dummy}" netname=retiolum myipv4="${2:-10.7.7.56}" mynet4=10.7.7.0 # create configuration directory for $netname 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 cat>tinc-up<tinc.conf< hosts/$myname tincd -n $netname -K echo Writing Public Key to irc channel cat>write_channel.py<