[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH V3] hotplug: add openvswitch script
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. Bastian -- Star Trek Lives! _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |