This makes debugging easier.
--del-match="bridge.*.port=$vif" \
--del-match="vlan.$vif.[!0-9]*" \
--add="bridge.$bridge.port=$vif" \
- $vid
+ $vid -c
$service vswitch reload
${IP} link set "${vif}" up || logger -t scripts-vif "Failed to ip link set ${vif} up"
logger -t scripts-vif "${vif} has been removed"
$cfg_mod -vANY:console:emer -F /etc/vswitchd.conf \
--del-match="bridge.*.port=${vif}" \
- --del-match="vlan.${vif}.[!0-9]*"
+ --del-match="vlan.${vif}.[!0-9]*" -c
;;
esac