From b4ac01ac0462eec051e225c84355c2e38f0ecb68 Mon Sep 17 00:00:00 2001 From: Felix Richter Date: Thu, 26 May 2011 13:06:12 +0200 Subject: fixed missing +x in startup script --- .scripts/autostart/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.scripts/autostart') diff --git a/.scripts/autostart/Makefile b/.scripts/autostart/Makefile index 58bfc0c5..7ca589e1 100644 --- a/.scripts/autostart/Makefile +++ b/.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 -- cgit v1.2.3 From 070edd0a3bc378483081c6e840dafa90ac1bfe19 Mon Sep 17 00:00:00 2001 From: Felix Richter Date: Thu, 26 May 2011 13:59:47 +0200 Subject: fixed borken parse script wrong behaviour when we do not know the internal ip of a node for some reason. fixed autostart script to modprobe tun before continuning --- .scripts/autostart/tinc | 2 ++ 1 file changed, 2 insertions(+) mode change 100644 => 100755 .scripts/autostart/tinc (limited to '.scripts/autostart') diff --git a/.scripts/autostart/tinc b/.scripts/autostart/tinc old mode 100644 new mode 100755 index 06d10403..12e77d6a --- a/.scripts/autostart/tinc +++ b/.scripts/autostart/tinc @@ -25,6 +25,8 @@ TCONF="/etc/tinc" NETSFILE="$TCONF/nets.boot" NETS="" +modprobe tun + test -f $DAEMON || exit 0 [ -r /etc/default/tinc ] && . /etc/default/tinc -- cgit v1.2.3