From 7bea72bbc15bbc0ae20726f928a64953fca547a4 Mon Sep 17 00:00:00 2001 From: Lassulus Date: Wed, 12 Dec 2012 04:11:07 +0100 Subject: added different directory for android --- retiolum/scripts/tinc_setup/new_install.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'retiolum/scripts/tinc_setup/new_install.sh') diff --git a/retiolum/scripts/tinc_setup/new_install.sh b/retiolum/scripts/tinc_setup/new_install.sh index c6a572d2..7a62e13b 100755 --- a/retiolum/scripts/tinc_setup/new_install.sh +++ b/retiolum/scripts/tinc_setup/new_install.sh @@ -302,8 +302,13 @@ get_hostname $HOSTN #create the configs -mkdir -p /etc/tinc/$NETNAME -cd /etc/tinc/$NETNAME +if [ $OS -eq 2 ];then + mkdir -p /usr/local/etc/tinc/$NETNAME + cd /usr/local/etc/tinc/$NETNAME +else + mkdir -p /etc/tinc/$NETNAME + cd /etc/tinc/$NETNAME +fi mv $TEMPDIR/hosts ./ -- cgit v1.2.3