summaryrefslogtreecommitdiffstats
path: root/.scripts/autostart/Makefile
diff options
context:
space:
mode:
authorLassulus <Lassulus@googlemail.com>2011-05-26 01:55:37 +0200
committerLassulus <Lassulus@googlemail.com>2011-05-26 01:55:37 +0200
commit554b9278430864dff9920c762b2e669e2d6ab3da (patch)
tree640f7b3fa08f361338d89056184d5a42ac01f0df /.scripts/autostart/Makefile
parent3a94864a7c994c25dcbdf07dcc11b68facc0bf06 (diff)
parentc30461354fcfb116ec52e14d20aa54910d76bdc0 (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