diff options
author | Felix Richter <Felix.Richter@syntax-fehler.de> | 2011-05-27 13:53:14 +0200 |
---|---|---|
committer | Felix Richter <Felix.Richter@syntax-fehler.de> | 2011-05-27 13:53:14 +0200 |
commit | ce9ed19b3b6ed9b49690e1a84a94190922000abf (patch) | |
tree | fdf01a81bcb9e1f4c5c5c78171cdcb54d7367810 /modules/retiolum/scripts/autostart/Makefile | |
parent | eaca1684da22a3560e7f32da9f08e7549e74600e (diff) | |
parent | a6563e5a9c554aa5d08c11f645815fb25deb8bcd (diff) |
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'modules/retiolum/scripts/autostart/Makefile')
-rw-r--r-- | modules/retiolum/scripts/autostart/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/retiolum/scripts/autostart/Makefile b/modules/retiolum/scripts/autostart/Makefile new file mode 100644 index 00000000..7ca589e1 --- /dev/null +++ b/modules/retiolum/scripts/autostart/Makefile @@ -0,0 +1,8 @@ +INIT_FOLDER=/etc/init.d +.phony: all +all: + #TODO change the tinc file before writing + cp tinc $(INIT_FOLDER)/tinc + chmod +x $(INIT_FOLDER)/tinc + echo "retiolum" > /etc/tinc/nets.boot + update-rc.d tinc defaults |