summaryrefslogtreecommitdiffstats
path: root/retiolum/hosts/install.sh
diff options
context:
space:
mode:
authorFelix Richter <github@syntax-fehler.de>2011-04-09 15:54:22 +0200
committerFelix Richter <github@syntax-fehler.de>2011-04-09 15:54:22 +0200
commitac72e9a00cc4aab67962020d3952903b40914f87 (patch)
tree220c7a1d93798b9bdfbd28f8020b4300446c456b /retiolum/hosts/install.sh
parentc18d24f4154b9f8bf42162cdc2fe6c89ae6d0f84 (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 'retiolum/hosts/install.sh')
-rwxr-xr-xretiolum/hosts/install.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/retiolum/hosts/install.sh b/retiolum/hosts/install.sh
index ebff669d..c74df03a 100755
--- a/retiolum/hosts/install.sh
+++ b/retiolum/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