summaryrefslogtreecommitdiffstats
path: root/retiolum/hosts/.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
commit438c717ace233c7be76b5bea00a7fbfad1f5aeca (patch)
tree18705b015c2136188bcefb2ef9dcae1db0054017 /retiolum/hosts/.scripts/autostart/Makefile
parentc32f57caebcf3cc442a07968a090ef9ee5f5304c (diff)
parenta04faa4bcf38ebc388b4946fbdeb9b262b0b2b2e (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