aboutsummaryrefslogtreecommitdiff
path: root/net/vlan.sh
diff options
context:
space:
mode:
Diffstat (limited to 'net/vlan.sh')
-rw-r--r--net/vlan.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/net/vlan.sh b/net/vlan.sh
index 9cce3b90..ced5aa0c 100644
--- a/net/vlan.sh
+++ b/net/vlan.sh
@@ -51,6 +51,14 @@ vlan_pre_start()
eerror "You must convert your vconfig_ VLAN entries to vlan${N} entries."
return 1
fi
+ local vlans=
+ eval vlans=\$vlans_${IFVAR}
+ [ -z "$vlans" ] && return 0
+ case " ${MODULES} " in
+ *" ifconfig "*)
+ eerror "sys-apps/iproute2 is required to configure VLANs"
+ return 1 ;;
+ esac
}
vlan_post_start()