summaryrefslogtreecommitdiffstats
path: root/hosts/.scripts/autostart/tinc
diff options
context:
space:
mode:
authorFelix Richter <github@syntax-fehler.de>2011-05-26 13:59:47 +0200
committerFelix Richter <github@syntax-fehler.de>2011-05-26 13:59:47 +0200
commitb3b1187e2d1cb615405851174f044882346a6815 (patch)
tree5643477f6dec2717bed6dacd8ba07e6c257f582d /hosts/.scripts/autostart/tinc
parent508bcf9c67cdc6bb42a0bef4655c2c1a27d497be (diff)
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
Diffstat (limited to 'hosts/.scripts/autostart/tinc')
-rwxr-xr-x[-rw-r--r--]hosts/.scripts/autostart/tinc2
1 files changed, 2 insertions, 0 deletions
diff --git a/hosts/.scripts/autostart/tinc b/hosts/.scripts/autostart/tinc
index 06d10403..12e77d6a 100644..100755
--- a/hosts/.scripts/autostart/tinc
+++ b/hosts/.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