Date: Thu, 26 Feb 2015 20:40:12 +0100 From: Matthias Apitz <guru@unixarea.de> To: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> Cc: freebsd-questions@freebsd.org Subject: Re: sendmail && dhcp Message-ID: <20150226194012.GA2695@c720-r276659> In-Reply-To: <44bnkgsmcl.fsf@lowell-desk.lan> References: <20150226144245.GA1346@c720-r276659> <44bnkgsmcl.fsf@lowell-desk.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
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 -- Matthias Apitz, guru@unixarea.de, http://www.unixarea.de/ +49-170-4527211 La referencia de la Duma a la anexión de la RDA, en este caso al contrario con la Crimlía sin referéndum, no solamente tiene gracia sino da en el blanco.- Marinos Yannikos @MarinosYannikos en un blog de RTdeutsch.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150226194012.GA2695>