[pkg-ntp-maintainers] Bug#823533: Slight improvement
Christian Ehrhardt
christian.ehrhardt at canonical.com
Tue Jul 5 08:53:49 UTC 2016
Testing has shown that an environment var there isn't working well.
Reason is that the call -> ifup -> hook isn't transferring environment.
But checking for alternatives made this even better.
ifup makes all options in e/n/i or ifup -o available (prepended with IF_
and uppercased) to called scripts.
That way one can not only disable per call, but also per device in e/n/i.
So the behavior will be like:
1. default it is running on ifup (old default)
2. one can set a global disable in the config file
3. one disable per device in the devices e/n/i stanza via disable_ntpdate 1
4. one can disable it per call via -o option setting -o disable_ntpdate=1
The following patch reflects that improvement
Christian Ehrhardt
Software Engineer, Ubuntu Server
Canonical Ltd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-ntp-maintainers/attachments/20160705/f9b7f4d9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ntpdate-disable-autoupdate-v2.patch
Type: text/x-patch
Size: 1774 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ntp-maintainers/attachments/20160705/f9b7f4d9/attachment.bin>
More information about the pkg-ntp-maintainers
mailing list