diff options
author | Felix Richter <Felix.Richter@syntax-fehler.de> | 2011-05-25 23:19:54 +0200 |
---|---|---|
committer | Felix Richter <Felix.Richter@syntax-fehler.de> | 2011-05-25 23:19:54 +0200 |
commit | 2d77d7bcdff62068986d1fbb8f87d0faf16cf60c (patch) | |
tree | 293daa0e99e461fd2e1b41568b8df8a49d036ab6 /hosts/.scripts/autostart/Makefile | |
parent | 7c61fa536eb4949c591f4b395dd5d04a4de28e72 (diff) |
added startup script for tinc
Diffstat (limited to 'hosts/.scripts/autostart/Makefile')
-rw-r--r-- | hosts/.scripts/autostart/Makefile | 7 |
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 |