[ntp:questions] Re: ntpd in inittab

You have no need to know anjahnoaoed at fl.net.invalid
Thu Sep 22 08:40:15 UTC 2005


Abandoning the right to remain silent, Jarrar Jaffari at Fri, 16 Sep 2005
16:41:05 +0000 said:

> Hello all,
> 
> I am making ntpd to be an inittab process. ntpd is a daemon, in inittab
> you can not have a daemon that forks so I have to run ntpd with -n option
> that restrict such forks.
> 
> Does any one know of any problems that I might run into if I run ntpd from
> inittab with -n option ?

Why can't you specify action 'once' ?

Better still:

ntpi:23456:bootwait:/path/ntpd -g -q -x
ntpd:23456:boot:/path/ntpd

or a script that runs those and:

ntpd:123456:bootwait:/path/script_name

-- 
Avoid reality at all costs.
$email =~ s/n(.)a(.)n(.)a(.)e(.+)invalid/$1$2$3$4$5au/;
icbm: 33.43.46S 150.59.27E




More information about the questions mailing list