summaryrefslogtreecommitdiffstats
path: root/hosts/.scripts/autostart/Makefile
diff options
context:
space:
mode:
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