On Wed, 2009-06-24 at 21:56 +0200, Seewer Philippe wrote:
> David Dillow wrote:
> > On Wed, 2009-06-24 at 20:08 +0200, Philippe Seewer wrote:
> >> The manpage for dhclient-script says:
> >>
> >> Before actually configuring the address, dhclient-script should
> >> somehow ARP for it and exit with a nonzero status if it receives a
> >> reply.
> >>
> >> By using arping in dracut this is very easy, since arping has a
> >> specific option to do just that.
> > 
> >> --- a/modules.d/40network/dhclient-script
> >> +++ b/modules.d/40network/dhclient-script
> >> @@ -64,6 +64,7 @@ case $reason in
> >>    sleep 1
> >>    ;;
> >>      BOUND)
> >> +  arping -q -D -c 2 -I $netif $new_ip_address || exit 1

Also, this seems like it is screaming for a message -- it will confuse
the user if it just doesn't work without saying why....

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to