Hello, On Mon, 24 Mar 2014 18:38:41 +1100 Dmitry Smirnov <only...@debian.org> wrote:
> > Dmitry Smirnov <only...@debian.org> wrote: > > > * What is the meaning of "[ "$ADDRFAM" = meta ] && exit 0"? > > Sorry could you please write a little bit more about how > > [ "$ADDRFAM" = meta ] && exit 0 > > works and what does it do? I don't know about "$ADDRFAM"... Thanks. Actually I did, but not directly :) Here's an excerpt from the man page: When ifupdown is being called with the --all option, before doing anything to interfaces, if calls all the hook scripts (pre-up or down) with IFACE set to "--all", LOGICAL set to the current value of --allow parameter (or "auto" if it's not set), ADDRFAM="meta" and METHOD="none". After all the interfaces have been brought up or taken down, the appropriate scripts (up or post-down) are executed. -- Cheers, Andrew
signature.asc
Description: PGP signature