ifup-local $DEVNAME versus ifup-pre-local $CONFIGFILE

Bill Nottingham notting at redhat.com
Fri Aug 29 13:07:18 UTC 2008


Martin Langhoff (martin.langhoff at gmail.com) said: 
> A curio I found working my way through the ifup execution traces is
> that while ifup-local is called with the device name (eth0),
> ifup-pre-local is called with the config file name (ifcfg-eth0).
> 
> Not the end of the world, but as these hooks aren't documented (that I
> could find at least) and google has few hits for them,I thought it was
> worth a mention.

It's actually consistent with the main scripts, if confusing - ifup-pre-local
is called with the config (as ifup is), while ifup-local is called with the
device (as ifup-post is).

Bill




More information about the devel mailing list