diff options
Diffstat (limited to '.scripts/autostart/Makefile')
-rw-r--r-- | .scripts/autostart/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.scripts/autostart/Makefile b/.scripts/autostart/Makefile new file mode 100644 index 00000000..7ca589e1 --- /dev/null +++ b/.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 |