summaryrefslogtreecommitdiffstats
path: root/retiolum/hosts/.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
commit33ef131e1e710834dff9acd8bc2e3b1da469e044 (patch)
tree2e76446a45517de12eed883b000a94e74f9fd23f /retiolum/hosts/.scripts/autostart/Makefile
parentc90d0896322276200117176f862fe74b5188ff5f (diff)
added startup script for tinc
Diffstat (limited to 'retiolum/hosts/.scripts/autostart/Makefile')
-rw-r--r--retiolum/hosts/.scripts/autostart/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/retiolum/hosts/.scripts/autostart/Makefile b/retiolum/hosts/.scripts/autostart/Makefile
new file mode 100644
index 00000000..58bfc0c5
--- /dev/null
+++ b/retiolum/hosts/.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