mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Startup-script for ntpdc
@ 2016-01-26 10:17 Simon Falsig
  2016-02-15  9:34 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Simon Falsig @ 2016-01-26 10:17 UTC (permalink / raw)
  To: ptxdist

Hi,

I've noticed that ntpdc (in Networking Tools > ntp) comes with a
startup-script
enabled and installed in /etc/init.d by default. But is it just me, or
does
having a startup-script not really make sense for ntpdc, which essentially
is
just a client application to query and control ntpd?

In any case, the installed startup-script doesn't work, the arguments
don't seem
to make sense, and judging from the name of the script and the given
configurationfile (ntp-client in both cases), it seems to be aimed at
ntpclient
(which is a different program, available at Networking Tools > ntpclient)
instead?

Am I overlooking something obvious here, or does this just not make sense?

Thanks and best regards,
Simon Falsig

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] Startup-script for ntpdc
  2016-01-26 10:17 [ptxdist] Startup-script for ntpdc Simon Falsig
@ 2016-02-15  9:34 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2016-02-15  9:34 UTC (permalink / raw)
  To: ptxdist

Hi,

On Tue, Jan 26, 2016 at 11:17:51AM +0100, Simon Falsig wrote:
> I've noticed that ntpdc (in Networking Tools > ntp) comes with a
> startup-script
> enabled and installed in /etc/init.d by default. But is it just me, or
> does
> having a startup-script not really make sense for ntpdc, which essentially
> is
> just a client application to query and control ntpd?
> 
> In any case, the installed startup-script doesn't work, the arguments
> don't seem
> to make sense, and judging from the name of the script and the given
> configurationfile (ntp-client in both cases), it seems to be aimed at
> ntpclient
> (which is a different program, available at Networking Tools > ntpclient)
> instead?
> 
> Am I overlooking something obvious here, or does this just not make sense?

I think you're right. It doesn't make sense. I suppose there could be some
magic that requires ntpdc to be run once at startup, but from what I can
tell from the git history, this looks like an error during refactoring. I
don't think it does any harm so nobody noticed.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-15  9:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-26 10:17 [ptxdist] Startup-script for ntpdc Simon Falsig
2016-02-15  9:34 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox