diff options
| author | Felix Richter <github@syntax-fehler.de> | 2011-04-09 15:54:22 +0200 |
|---|---|---|
| committer | Felix Richter <github@syntax-fehler.de> | 2011-04-09 15:54:22 +0200 |
| commit | efa6ac62c5a755acb30b193ea2e4a98b59a2a31a (patch) | |
| tree | c00339b56e38f2aa9c7dc9ba6e155df4fcb4cec5 /hosts/install.sh | |
| parent | 64bc4d8139e6971d42073be6d75ecdb2c32e69ed (diff) | |
added arch build/fixed install script,added no_omo
i also added a README file which contains some useful informations about
the scripts
Diffstat (limited to 'hosts/install.sh')
| -rwxr-xr-x | hosts/install.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hosts/install.sh b/hosts/install.sh index ebff669d..c74df03a 100755 --- a/hosts/install.sh +++ b/hosts/install.sh @@ -3,11 +3,12 @@ set -e myname="${1:-dummy}" -hostsfile=`dirname $0`/hosts.tar +rel_hostsfile=`dirname $0`/hosts.tar +hostsfile=`readlink -f $rel_hostsfile` netname=retiolum myipv4="${2:-10.7.7.56}" mynet4=10.7.7.0 - +CURR=`pwd` # create configuration directory for $netname mkdir -p /etc/tinc/$netname cd /etc/tinc/$netname |
