Looks good. --Justin
On Jun 14, 2012, at 5:12 PM, Ben Pfaff wrote: > This is useful for passing wrapper script options and possibly for other > purposes. > > Bug #11889. > Signed-off-by: Ben Pfaff <[email protected]> > --- > debian/openvswitch-switch.init | 1 + > debian/openvswitch-switch.template | 4 ++++ > 2 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/debian/openvswitch-switch.init b/debian/openvswitch-switch.init > index b44daad..3c93720 100755 > --- a/debian/openvswitch-switch.init > +++ b/debian/openvswitch-switch.init > @@ -70,6 +70,7 @@ start () { > if test X"$FORCE_COREFILES" != X; then > set "$@" --force-corefiles="$FORCE_COREFILES" > fi > + set "$@" $OVS_CTL_OPTS > "$@" || exit $? > > ovs_ctl --protocol=gre enable-protocol > diff --git a/debian/openvswitch-switch.template > b/debian/openvswitch-switch.template > index 46816ea..afa5dd3 100644 > --- a/debian/openvswitch-switch.template > +++ b/debian/openvswitch-switch.template > @@ -6,3 +6,7 @@ > # BRCOMPAT: If 'yes' and the openvswitch-brcompat package is installed, then > # Linux bridge compatibility will be enabled. > # BRCOMPAT=no > + > +# OVS_CTL_OPTS: Extra options to pass to ovs-ctl. This is, for example, > +# a suitable place to specify --ovs-vswitchd-wrapper=valgrind. > +# OVS_CTL_OPTS= > -- > 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
