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/