On Thu, Jul 26, 2012 at 03:01:26PM -0700, Ben Pfaff wrote: > This may be more useful in practice than failing the entire OVS startup > sequence.
Acked-by: Simon Horman <[email protected]> > > Debian bug #681955. > CC: [email protected] > Reported-by: Bastian Blank <[email protected]> > Signed-off-by: Ben Pfaff <[email protected]> > --- > utilities/ovs-ctl.in | 7 ++++++- > 1 files changed, 6 insertions(+), 1 deletions(-) > > diff --git a/utilities/ovs-ctl.in b/utilities/ovs-ctl.in > index 552cef3..9925fdb 100755 > --- a/utilities/ovs-ctl.in > +++ b/utilities/ovs-ctl.in > @@ -64,7 +64,12 @@ insert_brcompat_mod_if_required () { > insert_mod_if_required () { > insert_openvswitch_mod_if_required || return 1 > if test X"$BRCOMPAT" = Xyes; then > - insert_brcompat_mod_if_required || return 1 > + if insert_brcompat_mod_if_required; then > + : > + else > + log_warning_msg "brcompat module could not be loaded, disabling > bridge compatibility" > + BRCOMPAT=no > + fi > fi > } > > -- > 1.7.2.5 > > _______________________________________________ > dev mailing list > [email protected] > http://openvswitch.org/mailman/listinfo/dev > _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
