Kerin Millar <[email protected]> [14-09-30 16:04]:
> On 30/09/2014 14:58, Neil Bothwick wrote:
> >On Tue, 30 Sep 2014 14:46:46 +0100, Kerin Millar wrote:
> >
> >>>depend() {
> >>> before cron portmap
> >>> after eth0
> >>> use dns logger
> >>>}
> >>>
> >>>
> >>>for "after XYZ"
> >>>I set
> >>> net
> >>> net.eth0
> >>> eth0
> >>>and none worked for me...
> >>
> >>Using 'after' won't work unless both net.eth0 and ntp-client are in
> >>the
> >>default runlevel. Obviously, that condition is not satisfied if you
> >>are
> >>using ifplugd. Please try the solution mentioned in my previous post.
> >>It should work.
> >
> >ifplugd shouldn't be in any runlevel, it is just there for openrc to
> >use.
>
> I did not claim or suggest otherwise.
>
> --Kerin
>
I already have a solution in a file which is a user alterable
file:
I just put a call to ntp-client in the postup(){} function
of /etc/conf.d/net. Called once and no polling and straight forward.
And if an update to that file will happen, cfg-update will keep track
of it.
I am happy with that.
Best regards,
mcc