[PATCH 1/2] wget: make default timeout configurable, remove a duplicate line
Denys Vlasenko
vda.linux at googlemail.com
Fri Oct 18 01:36:19 UTC 2013
On Thursday 17 October 2013 10:48, Lauri Kasanen wrote:
> On Wed, Oct 16, 2013, at 22:23, Harald Becker wrote:
> > >> GNU wget does kinda cater to this use: you can specify it in
> > >> the .wgetrc file, but then that's only portable to GNU wget.
> > >How about adding limited support for .wgetrc then (only for
> > >timeouts)?
> >
> > Just a suggestion ...
> >
> > Support for .wgetrc is much bloat. What about looking for
> > environment variable WGET_TIMEOUT? Ok it is not compatible with
> > other other wget versions, but BB wget isn't neither.
>
> Checking for an env var would be more size. Having it as a compile-time
> configure option means no size change, and we don't need the default to
> change at runtime.
I don't want to add incompatible changes.
The whole point of using same commands on "big" and on embedded
systems is to give user/admin the same environment in both cases.
--
vda
More information about the busybox
mailing list