rhel: Automatically start openvswitch service before bringing an ovs interface up...
[cascardo/ovs.git] / rhel / etc_sysconfig_network-scripts_ifdown-ovs
index 19047d8..d2a2f4b 100755 (executable)
@@ -34,6 +34,8 @@ if [ ! -x ${OTHERSCRIPT} ]; then
     OTHERSCRIPT="/etc/sysconfig/network-scripts/ifdown-eth"
 fi
 
+[ -f /var/lock/subsys/openvswitch ] || /sbin/service openvswitch start
+
 case "$TYPE" in
        OVSBridge)
                ${OTHERSCRIPT} ${CONFIG} $2