sendmail && dhcp
Matthias Apitz
guru at unixarea.de
Thu Feb 26 19:40:50 UTC 2015
El día Thursday, February 26, 2015 a las 10:50:50AM -0500, Lowell Gilbert escribió:
> Matthias Apitz <guru at 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 at 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.
More information about the freebsd-questions
mailing list