aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net.Linux/tuntap.sh3
1 files changed, 1 insertions, 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