summaryrefslogtreecommitdiffstats
path: root/retiolum/scripts
diff options
context:
space:
mode:
authorLassulus <lassulus@googlemail.com>2012-12-12 05:13:06 +0100
committerLassulus <lassulus@googlemail.com>2012-12-12 05:13:06 +0100
commitc8e87631c19d0eda9875e7d91c57fd9aef90863a (patch)
treeb5ff909ea3bcd08f6bf85c34bc04a543bfba8cfc /retiolum/scripts
parent883051176857575df7ec539da87117c0d24ab5a8 (diff)
fixed some more borken stuff
Diffstat (limited to 'retiolum/scripts')
-rwxr-xr-xretiolum/scripts/tinc_setup/new_install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/retiolum/scripts/tinc_setup/new_install.sh b/retiolum/scripts/tinc_setup/new_install.sh
index 5f09bb15..0a2c3201 100755
--- a/retiolum/scripts/tinc_setup/new_install.sh
+++ b/retiolum/scripts/tinc_setup/new_install.sh
@@ -249,7 +249,7 @@ else
exit 1
else
TINCBIN=tincd
- if [ $TEMPDIR == 'auto' ]; then TEMPDIR=/mnt/tinc-install-fu ;fi
+ if [ $TEMPDIR == 'auto' ]; then TEMPDIR=/tmp/tinc-install-fu ;fi
fi
fi
@@ -318,7 +318,7 @@ else
fi
mv $TEMPDIR/hosts ./
-rm -r $TEMDIR
+rm -r $TEMPDIR
echo "Subnet = $IP4" > hosts/$HOSTN
echo "Subnet = $IP6" >> hosts/$HOSTN