summaryrefslogtreecommitdiff
path: root/net.Linux
diff options
context:
space:
mode:
Diffstat (limited to 'net.Linux')
-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 79d8071..7c78962 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