FS#18542 - [ifplugd] Wrong way to launch ntpdate
Attached to Project:
Arch Linux
Opened by Thomas Jost (Schnouki) - Wednesday, 03 March 2010, 08:24 GMT
Last edited by Evangelos Foutras (foutrelis) - Wednesday, 26 September 2012, 04:06 GMT
Opened by Thomas Jost (Schnouki) - Wednesday, 03 March 2010, 08:24 GMT
Last edited by Evangelos Foutras (foutrelis) - Wednesday, 26 September 2012, 04:06 GMT
|
Details
In the latest ifplugd release, ntpdate is run in the
/etc/ifplugd/ifup.d/02-ntpdate.sh. It is done this way:
ntpdate ru.pool.ntp.org | logger In the previous version, NTP was handled by 2 lines: /etc/rc.d/ntpdate restart /etc/rc.d/ntpd restart This made much more sense to me. For instance I don't use ru.pool.ntp.org, but either fr.pool.ntp.org or a server on my company's LAN. And I also like to have ntpd restarted when a local NTP server is found by dhcpcd. Is there a reason to run ntpdate this way? If not, could the maintainer please change this to use rc-scripts again? Thanks. |
This task depends upon
Closed by Evangelos Foutras (foutrelis)
Wednesday, 26 September 2012, 04:06 GMT
Reason for closing: Fixed
Wednesday, 26 September 2012, 04:06 GMT
Reason for closing: Fixed
02-ntpdate.sh (0 KiB)