Bug#418065: [Pkg-vsquare-devel] Bug#418065: vde2: integration with ifup/ifdown needlessly restrict the naming of the interface

Raphael Hertzog hertzog at debian.org
Sat Apr 7 12:05:01 UTC 2007


On Sat, 07 Apr 2007, Filippo Giunchedi wrote:
> another option can be to check if a vde2-* option has been specified in the
> stanza, to my knowledge ifupdown exports them to the script's environment. Would
> that work?

I think so, but that test is already at the beginning of the script
/etc/network/if-pre-up.d/vde2.

if [ ! -x $VDE2_SWITCH ] || [ ! -x $SLIRPVDE ]; then
  exit 0
fi

It might be enough to protect similarly the other script.

Cheers,
-- 
Raphaël Hertzog

Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/




More information about the Pkg-vsquare-devel mailing list