summaryrefslogtreecommitdiffstats
path: root/retiolum/scripts
diff options
context:
space:
mode:
authorLassulus <lassulus@googlemail.com>2013-01-21 22:06:40 +0100
committerLassulus <lassulus@googlemail.com>2013-01-21 22:06:40 +0100
commitfbcf1a5714a82d1f7eb6ca9d55625f0c910ee315 (patch)
tree5118d702d29e2bcd74c3a44c53e6df6857d7fc55 /retiolum/scripts
parente6451bbd74b54702f09c7130348028f1a89b981c (diff)
fixes for android
Diffstat (limited to 'retiolum/scripts')
-rwxr-xr-xretiolum/scripts/tinc_setup/new_install.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/retiolum/scripts/tinc_setup/new_install.sh b/retiolum/scripts/tinc_setup/new_install.sh
index 9fa8a84b..4552810d 100755
--- a/retiolum/scripts/tinc_setup/new_install.sh
+++ b/retiolum/scripts/tinc_setup/new_install.sh
@@ -163,8 +163,9 @@ if [ $OS -eq 2 ]; then
exit 1
else
TINCBIN=/data/data/org.poirsouille.tinc_gui/files/tincd
- if [ $TINCDIR = 'auto' ]; then TINCDIR="/etc/tinc" ;fi
- if [ $TEMPDIR = 'auto' ]; then TEMPDIR="/data/secure/data" ;fi
+ if [ $TINCDIR = 'auto' ]; then TINCDIR="/usr/local/etc/tinc" ;fi
+ if [ $TEMPDIR = 'auto' ]; then TEMPDIR="/storage/sdcard0/tinc-fu" ;fi
+ mount -o remount,rw /
fi
else
if ! type tincd >/dev/null; then