summaryrefslogtreecommitdiffstats
path: root/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
commit93a684716ca0fff6286379b34f0bf1cc5cd04572 (patch)
tree36c2cd871157d513add9d783201dfb2f2a9bd4e6 /hosts/.scripts/autostart/Makefile
parenta6b2c7f488ebf65a6e1bbe3f06006abd911ba702 (diff)
parentaf0aeb3236ea15982e31eeda9bb16e7ae1198c7c (diff)
Merge branch 'master' of github.com:miefda/retiolum
Diffstat (limited to 'hosts/.scripts/autostart/Makefile')
-rw-r--r--hosts/.scripts/autostart/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/hosts/.scripts/autostart/Makefile b/hosts/.scripts/autostart/Makefile
new file mode 100644
index 00000000..58bfc0c5
--- /dev/null
+++ b/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