9a79b1c7b8
BuildRoot and ExcludeArch cleanup
15 lines
496 B
Diff
15 lines
496 B
Diff
--- fcoe-utils-1.0.17/contrib/fcoe-setup.sh 2011-01-15 01:28:10.000000000 +0100
|
|
+++ fcoe-utils-1.0.17/contrib/fcoe-setup.sh.new 2011-02-04 12:52:13.873482656 +0100
|
|
@@ -24,9 +24,8 @@
|
|
vif=$(scan_vlan $ifname $vlan)
|
|
|
|
if [ -z "$vif" ] ; then
|
|
- vconfig set_name_type DEV_PLUS_VID_NO_PAD
|
|
- vconfig add $ifname $vlan > /dev/null
|
|
- vif="$ifname.$vlan"
|
|
+ vif="$ifname.$vlan"
|
|
+ ip link add dev $vif link $ifname type vlan id $vlan
|
|
fi
|
|
ip link set $vif up
|
|
echo "$vif"
|