xenserver: Fix init script typos that prevented turning brcompatd back on.
authorIan Campbell <Ian.Campbell@citrix.com>
Thu, 1 Oct 2009 16:26:22 +0000 (09:26 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 26 Mar 2010 21:42:55 +0000 (14:42 -0700)
Commit 723a8c3ca "xenserver: Disable brcompatd" turned off brcompatd by
default but allowed it to be enabled using an option, but the option
didn't work.  This commit fixes that problem.

xenserver/etc_init.d_openvswitch

index dfc346fad2fbad02d3ae13ca250ac6571d10d0fd..8b703fc8e065faa08fc2d0c4a7a5875d85e9d226 100755 (executable)
@@ -123,7 +123,7 @@ function insert_modules_if_required {
         action "Inserting llc module" modprobe llc
         action "Inserting openvswitch module" modprobe openvswitch_mod
     fi
-    if [ "$ENABLE_BRCOMPATD" = "y" ] && [ -n "$BRCOMPATD_PIDFILE" ] && ! lsmod | grep -q "brcompat_mod"; then
+    if [ "$ENABLE_BRCOMPAT" = "y" ] && [ -n "$BRCOMPATD_PIDFILE" ] && ! lsmod | grep -q "brcompat_mod"; then
         action "Inserting brcompat module" modprobe brcompat_mod
     fi
     if [ -f "/lib/modules/`uname -r`/kernel/net/openvswitch/ip_gre_mod.ko" ] && ! lsmod | grep -q "ip_gre_mod"; then