David / Matt,<div><br></div><div>On Wed, Jun 30, 2010 at 8:35 PM, David Lutterkort <span dir="ltr"><<a href="mailto:lutter@redhat.com">lutter@redhat.com</a>></span> wrote:</div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi Chris,<br></blockquote><div>... </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">I share Matt's misgivings about doing the above in an ifcfg file - it</div>
breaks all kinds of tools, from netcf to NetworkManager. The right<br>
solution is to not try and parse the above, and flag it as an error.<br></blockquote><div><br></div><div><div>Thanks for the advice. I agree that throwing a shell function in a conf file like this is messy, but it's currently required to avoid false link down warnings when using the VMware vmxnet driver. They automatically generate ifcfg files with a check_link_down function included.</div>

<div><br></div><div>I decided to use a workaround which is still probably not "valid" for ifcfg files, but seems to work with the current shellvars.aug. I moved the shell function into an external file and then included it using "source external_file" in my ifcfg. Since shellvars.aug already parses "source" directives, everything works.</div>

</div><div><br></div><div> - Chris</div></div></div>