diff options
-rwxr-xr-x | init.d.misc/openvpn | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/init.d.misc/openvpn b/init.d.misc/openvpn index 6beff325..bdc9558f 100755 --- a/init.d.misc/openvpn +++ b/init.d.misc/openvpn @@ -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 |