diff options
Diffstat (limited to 'init.d.misc')
-rw-r--r-- | init.d.misc/openvpn.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d.misc/openvpn.in b/init.d.misc/openvpn.in index 79156232..699fc046 100644 --- a/init.d.misc/openvpn.in +++ b/init.d.misc/openvpn.in @@ -53,7 +53,7 @@ start_pre() eend $? fi else - if type kldload >/dev/null 2>&1; then + if command -v kldload >/dev/null 2>&1; then # Hammer the modules home by default sysctl -a | grep -q '\.tun\.' || kldload if_tun sysctl -a | grep -q '\.tap\.' || kldload if_tap |