From 2bd31e8d033ec4488edb775cdac73d247207637a Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 29 Jan 2008 15:34:17 +0000 Subject: [PATCH] Attempt to fix tun/tap issue on first boot. --- net.Linux/tuntap.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/net.Linux/tuntap.sh b/net.Linux/tuntap.sh index 79d80712..7c789620 100644 --- a/net.Linux/tuntap.sh +++ b/net.Linux/tuntap.sh @@ -21,8 +21,7 @@ tuntap_pre_start() [ -z "${tuntap}" ] && return 0 if [ ! -e /dev/net/tun ]; then - modprobe tun && sleep 1 - if [ ! -e /dev/net/tun ]; then + if ! modprobe tun; then eerror "TUN/TAP support is not present in this kernel" return 1 fi