When the variable "STP" is not set, the last executed command is False
while running ifup-ovs for OVSBridge. This causes the ifup-ovs
script to return an error resulting in a failure.
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
${OTHERSCRIPT} ${CONFIG}
fi
[ -n "${STP}" ] && ovs-vsctl --no-wait set bridge "${DEVICE}" stp_enable="${STP}"
${OTHERSCRIPT} ${CONFIG}
fi
[ -n "${STP}" ] && ovs-vsctl --no-wait set bridge "${DEVICE}" stp_enable="${STP}"
;;
OVSPort)
/sbin/ifup "$OVS_BRIDGE"
;;
OVSPort)
/sbin/ifup "$OVS_BRIDGE"