On 2008-05-19, Cesare Gargano <[EMAIL PROTECTED]> wrote: > On 19/05/08 15:50 +0200, Cesare Gargano wrote: >> On 18/05/08 17:20 +0200, Jona Joachim wrote: >> > I very much appreciate the work of reyk@ on dhclient to make it renew the >> > lease when the >> > link is lost. However it might happen that you don't have a link at the >> > moment where >> > you launch dhclient but you know that you might get a link afterwards. >> > This is true when you launch your laptop somewhere where you have wifi >> > connectivity >> > but unfortunately you're in a spot where you don't currently receive it. >> > If you specify 'dhcp' in hostname.<if> you will have to wait until >> > dhclient times out >> > or hit Ctrl-C at startup. >> > This tiny patch adds an option to dhclient to tell it to just go into >> > background and wait >> > until you get a link. >> > >> > I would appreciate any comments. >> > Thanks! >> > >> > >> > Index: dhclient.c (snip diff) >> >> Ehi! Your diff is already there! >> >> cat /etc/dhclient.conf >> link_timeout 0; > ^^^^^^^^^^^^ > is link-timeout > > Ehm! Enjoy!
You're right, I guess I was making things overly complicated.