[BusyBox] ifupdown patch
E.Spakman at inter.nl.net
Tue Apr 13 19:29:05 UTC 2004
> > This patch is sended to the list some time ago by Lars Kellogg-
> > Stedman, but I think it's forgotten. It will correct the case where
> > 'ifdown' will attempt to run 'ifconfig' even if built with
> > CONFIG_FEATURE_IFUPDOWN_IP.
> > Regards,
> > Eric Spakman
> Thanks. Dunno how that one slipped though. Care to
> try this change out
> which should be equivallent?
It seems to work correct, I didn't see any error. The code is only
reached when using dhclient or udhcpc (result=0), so I tested it with
removing dhcpcd (which I use) before bringing down the interface.
That brings me to an other question: shouldn't the "interface down"
code not always be executed, regardless off which dhcp client you
More information about the busybox