summaryrefslogtreecommitdiffstats
path: root/.scripts/autostart/Makefile
diff options
context:
space:
mode:
authorFelix Richter <Felix.Richter@syntax-fehler.de>2011-05-25 23:19:54 +0200
committerFelix Richter <Felix.Richter@syntax-fehler.de>2011-05-25 23:19:54 +0200
commit20fa1f140474e22b600273a6d24f0d95206bab8b (patch)
treea7916595035aa0c8bbdf0fc446fd7ec797b2d4b2 /.scripts/autostart/Makefile
parenta4ee8f3ce9c52c518d09113ef6ee66b5d5be4312 (diff)
added startup script for tinc
Diffstat (limited to '.scripts/autostart/Makefile')
-rw-r--r--.scripts/autostart/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/.scripts/autostart/Makefile b/.scripts/autostart/Makefile
new file mode 100644
index 00000000..58bfc0c5
--- /dev/null
+++ b/.scripts/autostart/Makefile
@@ -0,0 +1,7 @@
+INIT_FOLDER=/etc/rc.d
+.phony: all
+all:
+ #TODO change the tinc file before writing
+ cp tinc $(INIT_FOLDER)/tinc
+ echo "retiolum" > /etc/tinc/nets.boot
+ update-rc.d tinc defaults