diff options
-rw-r--r-- | net/macvlan.sh | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/net/macvlan.sh b/net/macvlan.sh index b8a8ffa2..fb5fcdb4 100644 --- a/net/macvlan.sh +++ b/net/macvlan.sh @@ -24,17 +24,6 @@ _is_macvlan() [ -n "$(export RC_SVCNAME="net.${IFACE}"; service_get_value macvlan)" ] } -_check_macvlan() -{ - if [ ! -d /sys/module/macvlan ]; then - modprobe macvlan - if [ ! -d /sys/module/macvlan ]; then - eerror "MAC-VLAN support is not present in this kernel" - return 1 - fi - fi -} - macvlan_pre_start() { # MAC-VLAN needs an existing interface to link to @@ -42,8 +31,6 @@ macvlan_pre_start() eval macvlan=\$macvlan_${IFVAR} [ -z "${macvlan}" ] && return 0 - _check_macvlan || return 1 - case " ${MODULES} " in *" ifconfig "*) eerror "sys-apps/iproute2 is required to configure MACVLANs" |