There were a couple of places where copied functionality from one
script was properly updated to work in the combined script.
for dp in $(dp_list); do
local intf=$(dp_intf $dp)
if [ -e "/etc/sysconfig/network-scripts/ifcfg-$intf" ]; then
- action "Bringing up datapath interface: $intf" ifdown "$intf"
+ action "Bringing down datapath interface: $intf" ifdown "$intf"
fi
done
}
if ! lsmod | grep -q "openflow_mod"; then
action "Removing openflow module" rmmod openflow_mod.ko
fi
- if ! lsmod | grep -q "openflow_mod"; then
+ if ! lsmod | grep -q "brcompat_mod"; then
action "Removing brcompat module" rmmod brcompat_mod.ko
fi
}