Load the tun/tap modules on BSD

This commit is contained in:
Roy Marples 2007-11-28 16:12:45 +00:00
parent 9252492d2f
commit f796ad463d

View File

@ -77,6 +77,10 @@ start_pre() {
ln -s /dev/misc/net/tun /dev/net/tun
eend $?
fi
else
# Hammer the modules home by default
sysctl -a | grep -q '\.tun\.' || kldload if_tun
sysctl -a | grep -q '\.tap\.' || kldload if_tap
fi
# If the config file does not specify the cd option, we do