From d2ce18954f19edccf23dddf76c737cd76ca7881e Mon Sep 17 00:00:00 2001 From: root Date: Fri, 27 May 2011 02:15:17 +0200 Subject: prepare .scripts for import into krebscode --- modules/retiolum/scripts/autostart/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 modules/retiolum/scripts/autostart/Makefile (limited to 'modules/retiolum/scripts/autostart/Makefile') 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 -- cgit v1.2.3