summaryrefslogtreecommitdiffstats
path: root/retiolum/hosts/.scripts/autostart/Makefile
diff options
context:
space:
mode:
authorFelix Richter <github@syntax-fehler.de>2011-05-26 10:29:06 +0200
committerFelix Richter <github@syntax-fehler.de>2011-05-26 10:29:06 +0200
commit14c7f881101e9377ba840c8eeb7063fd0314e029 (patch)
tree6b69c1273c04a5a54d007d17349df23e7958223f /retiolum/hosts/.scripts/autostart/Makefile
parentf7bc1f56d7824e73b324dbe9db5d209c12d97af1 (diff)
parent438c717ace233c7be76b5bea00a7fbfad1f5aeca (diff)
Merge branch 'master' of github.com:miefda/retiolum
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