Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2015 22:18:18 +0100
From:      Michael Ross <gmx@ross.cx>
To:        Matthias Apitz <guru@unixarea.de>, Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>, freebsd-questions@freebsd.org
Cc:        owner-freebsd-questions@freebsd.org
Subject:   Re: sendmail && dhcp
Message-ID:  <ee49551a9b8d5c15cb88b71dc676914f@ross.cx>
In-Reply-To: <20150226194012.GA2695@c720-r276659>
References:  <20150226144245.GA1346@c720-r276659> <44bnkgsmcl.fsf@lowell-desk.lan> <20150226194012.GA2695@c720-r276659>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 2015-02-26 20:40, schrieb Matthias Apitz:
> El día Thursday, February 26, 2015 a las 10:50:50AM -0500, Lowell
> Gilbert escribió:
> 
>> Matthias Apitz <guru@unixarea.de> writes:
>> 
>> > What would be the best way to restart (or defer the start of sendmail)
>> > until the correct DNS is in place? For the tun interface I'm using a
>> > devd(8) hook, but I'm looking more for a general solution.
>> 
>> dhclient-script(8) is one way.
> 
> Thanks for the hint. I've played around with the hooks script
> /etc/dhclient-exit-hooks; but this is not invoked when PPP brings up 
> the
> interface tun(4), routing etc. because this is not done by dhclient(8),
> but directly by the pppd(8) and its hooks.
> 
> 	matthias

/etc/ppp/ppp.link(up|down) ?

Quote man ppp:
      If	the /etc/ppp/ppp.linkup	file is	available, its contents	are 
executed
      when the PPP connection is	established.

Michael



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ee49551a9b8d5c15cb88b71dc676914f>