diff options
author | Ian Campbell <Ian.Campbell@citrix.com> | 2009-10-01 09:26:22 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2010-03-26 14:42:55 -0700 |
commit | e40a9944f7fc391bb503414d8aadf970c323980b (patch) | |
tree | 497b6a987adbca4a83de4e7370bf963a10763cc7 /xenserver/etc_init.d_openvswitch | |
parent | 06e41baf2ae176050cfe71a7824a17cc95cf388c (diff) |
xenserver: Fix init script typos that prevented turning brcompatd back on.
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.
Diffstat (limited to 'xenserver/etc_init.d_openvswitch')
-rwxr-xr-x | xenserver/etc_init.d_openvswitch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xenserver/etc_init.d_openvswitch b/xenserver/etc_init.d_openvswitch index dfc346fa..8b703fc8 100755 --- a/xenserver/etc_init.d_openvswitch +++ b/xenserver/etc_init.d_openvswitch @@ -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 |