summaryrefslogtreecommitdiffstats
path: root/.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
commitdb7f9ee40d1a34e0ae9f1d5b67aa3a4090cd4dee (patch)
tree63c73a9d4aa64d9559862cad6aba3d4503295fcc /.scripts/autostart/Makefile
parent67b701652f280e041914685bfcd58d03f2a4468a (diff)
parent554b9278430864dff9920c762b2e669e2d6ab3da (diff)
Merge branch 'master' of github.com:miefda/retiolum
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