From 246dec1f001c555ba12406338376020f9ff8cb0f Mon Sep 17 00:00:00 2001 From: Keith Amidon Date: Wed, 29 Apr 2009 09:50:53 -0700 Subject: [PATCH] Fix copy-paste errors when combining vswitchd & brcompatd init scripts There were a couple of places where copied functionality from one script was properly updated to work in the combined script. --- vswitchd/etc/init.d/vswitch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vswitchd/etc/init.d/vswitch b/vswitchd/etc/init.d/vswitch index b9fd59d1..1a08166e 100755 --- a/vswitchd/etc/init.d/vswitch +++ b/vswitchd/etc/init.d/vswitch @@ -73,7 +73,7 @@ function ifdown_dp_intf { 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 } @@ -137,7 +137,7 @@ function remove_modules { 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 } -- 2.30.2