On Fri, Jul 15, 2011 at 3:12 PM, Ben Pfaff <[email protected]> wrote: > +# If openvswitch-switch is installed, and then BRCOMPAT is enabled in > +# /etc/default/openvswitch-switch, and then openvswitch-brcompat is > +# installed, start ovs-brcompatd. > +test -e /etc/default/openvswitch-switch && . /etc/default/openvswitch-switch > +if test X"$1" = Xconfigure && \ > + test X"$BRCOMPAT" = Xyes && \ > + test -x /etc/init.d/openvswitch-switch && \ > + test -e /var/run/openvswitch/ovs-vswitchd.pid && \ > + test ! -e /var/run/openvswitch/ovs-brcompatd.pid; then > + invoke-rc.d openvswitch-switch start || exit $? > +fi
I'm not sure I see the point in all these checks. Why not just start it regardless, since even in this scenario the init script will try to start daemons that are already running? Looks good to me otherwise. _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
