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!
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to