[ntp:questions] Re: Specifying command line parameters for ntpd running as a w2k service?
terje.mathisen at hda.hydro.com
Sat Jan 22 09:57:52 UTC 2005
mayer at gis.net wrote:
> That didn't come out very well so let me rewrite it.
> You already know whether or not it is being run interactively
> or as a service since it comes in at NTmain in ntservice.c
> if it is interactive and through main in ntpd.c if running
> as a service. You can therefore set flags and values
> appropriately to do the right thing.
OK, In that case it would seem like a common (ntpdmain() ?) function
should be called from either main or ntservice, with either the command
line or the registry line passed as the parameters to use?
- <Terje.Mathisen at hda.hydro.com>
"almost all programming can be viewed as an exercise in caching"
More information about the questions