From 2d77d7bcdff62068986d1fbb8f87d0faf16cf60c Mon Sep 17 00:00:00 2001 From: Felix Richter Date: Wed, 25 May 2011 23:19:54 +0200 Subject: added startup script for tinc --- hosts/.scripts/autostart/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 hosts/.scripts/autostart/Makefile (limited to 'hosts/.scripts/autostart/Makefile') 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 -- cgit v1.2.3