Attempt to fix tun/tap issue on first boot.

This commit is contained in:
Roy Marples 2008-01-29 15:34:17 +00:00
parent 39d88dc809
commit 2bd31e8d03

View File

@ -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