Date: Tue, 17 Apr 2007 18:19:04 +0200 From: =?ISO-8859-1?Q?Peter_Ankerst=E5l?= <peter@pean.org> To: Ido Admon <rhingael@mscc.huji.ac.il> Cc: freebsd-questions@freebsd.org Subject: Re: Execute command upon interface initialization? Message-ID: <4624F378.3050505@pean.org> In-Reply-To: <20070417145352.M39800@mscc.huji.ac.il> References: <20070417145352.M39800@mscc.huji.ac.il>
next in thread | previous in thread | raw e-mail | index | archive | help
Ido Admon wrote: > Hello list, > I couldn't find any way to execute an arbitrary command upon network > interface initialization. My situations is that I have and ethernet card > that takes DHCP from a cables provider (not a fixed IP address) and I > need to update a DynDNS hostname everytime it does (everytime the IP > changes). > I couldn't find a way to execute shell commands using the rc system or > dhclient, what did I miss? > Sure I could just use cron but that's not very elegant. You could use dns/ez-ipupdate. It is a daemon who updates your dyndns whenever your ip is changed.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4624F378.3050505>