From 20fa1f140474e22b600273a6d24f0d95206bab8b 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 --- .scripts/autostart/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .scripts/autostart/Makefile (limited to '.scripts/autostart/Makefile') diff --git a/.scripts/autostart/Makefile b/.scripts/autostart/Makefile new file mode 100644 index 00000000..58bfc0c5 --- /dev/null +++ b/.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