<div dir="ltr"><div>Testing has shown that an environment var there isn't working well.</div><div>Reason is that the call -> ifup -> hook isn't transferring environment.<br></div><div><br></div><div>But checking for alternatives made this even better.</div><div><br></div><div>ifup makes all options in e/n/i or ifup -o available (prepended with IF_ and uppercased) to called scripts.</div><div>That way one can not only disable per call, but also per device in e/n/i.</div><div><br></div><div>So the behavior will be like:                                                    </div><div> 1. default it is running on ifup (old default)                                   </div><div> 2. one can set a global disable in the config file                               </div><div> 3. one disable per device in the devices e/n/i stanza via disable_ntpdate 1</div><div> 4. one can disable it per call via -o option setting -o disable_ntpdate=1 </div><div><br></div><div>The following patch reflects that improvement</div><div><br></div><div><br></div><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="color:rgb(136,136,136);font-size:12.8px">Christian Ehrhardt</span><div style="color:rgb(136,136,136);font-size:12.8px">Software Engineer, Ubuntu Server</div><div style="color:rgb(136,136,136);font-size:12.8px">Canonical Ltd</div></div></div></div></div></div>
</div>