summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--retiolum/hosts/.scripts/autostart/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/retiolum/hosts/.scripts/autostart/Makefile b/retiolum/hosts/.scripts/autostart/Makefile
index 58bfc0c5..7ca589e1 100644
--- a/retiolum/hosts/.scripts/autostart/Makefile
+++ b/retiolum/hosts/.scripts/autostart/Makefile
@@ -1,7 +1,8 @@
-INIT_FOLDER=/etc/rc.d
+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