[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH V3] hotplug: add openvswitch script



On Tue, 2013-04-23 at 10:58 +0100, Bastian Blank wrote:
> On Tue, Apr 23, 2013 at 10:42:15AM +0100, Ian Campbell wrote:
> > On Tue, 2013-04-23 at 09:56 +0100, Roger Pau Monne wrote:
> > > Also, it might be interesting to add something like:
> > >     if ! type ovs-vsctl > /dev/null 2>&1; then
> > I think type is a bash-ism but I don't know the portable alternative and
> > this script uses #!/bin/bash anyhow.
> 
> You may want to use "command -v $bla > /dev/null", it is a bit more
> portable.

Thanks for the hint, V4 incoming...

Ian.



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.