summaryrefslogtreecommitdiffstats
path: root/retiolum/scripts/tinc_setup
diff options
context:
space:
mode:
authortv <tv@also>2011-11-10 01:19:04 +0100
committertv <tv@also>2011-11-10 01:19:04 +0100
commit8ddd371557d626f6586282c3345e3a2a8f7ee487 (patch)
tree99f4574fec61ab0211078d63da0dfd9014850fc3 /retiolum/scripts/tinc_setup
parent30ec5d0a41d162ebe89a5cff44e12f3153d21fe0 (diff)
//retiolum update: cp tinc-up and restart tincd
This commit updates /etc's tinc-up if it has changed and then restarts tincd. If tinc-up hasn't changed then only HUP and ALRM are sent to the retiolum tincd process.
Diffstat (limited to 'retiolum/scripts/tinc_setup')
-rwxr-xr-xretiolum/scripts/tinc_setup/install.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/retiolum/scripts/tinc_setup/install.sh b/retiolum/scripts/tinc_setup/install.sh
index d1b284ac..1cd7c81d 100755
--- a/retiolum/scripts/tinc_setup/install.sh
+++ b/retiolum/scripts/tinc_setup/install.sh
@@ -60,8 +60,6 @@ else
echo "own host file already exists! will not write again!"
fi
-cp $CURR/tinc-up /etc/tinc/$netname/
-
cat>tinc.conf<<EOF
Name = $myname
ConnectTo = EUcancER