X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=rhel%2Fetc_sysconfig_network-scripts_ifup-ovs;fp=rhel%2Fetc_sysconfig_network-scripts_ifup-ovs;h=b6ccf56c4bc66c463b3a4d5c9f3a38a827f68fc3;hb=2517bad92eec7e5625bc8b248db22fdeaa5fcde9;hp=c42787903695fc1f4167d24c76f917be6b01ecab;hpb=e1cfc4e4612594746483dbe82607b1ba339b5b6c;p=sliver-openvswitch.git diff --git a/rhel/etc_sysconfig_network-scripts_ifup-ovs b/rhel/etc_sysconfig_network-scripts_ifup-ovs index c42787903..b6ccf56c4 100755 --- a/rhel/etc_sysconfig_network-scripts_ifup-ovs +++ b/rhel/etc_sysconfig_network-scripts_ifup-ovs @@ -47,6 +47,7 @@ case "$TYPE" in if [ "${OVSBOOTPROTO}" != "dhcp" ] && [ -z "${OVSINTF}" ]; then ${OTHERSCRIPT} ${CONFIG} fi + [ -n "${STP}" ] && ovs-vsctl --no-wait set bridge "${DEVICE}" stp_enable="${STP}" ;; OVSPort) /sbin/ifup "$OVS_BRIDGE"