[PATCH 1/2] wget: make default timeout configurable, remove a duplicate line
Tito
farmatito at tiscali.it
Fri Oct 18 21:48:47 UTC 2013
On Friday 18 October 2013 23:21:41 Harald Becker wrote:
> Hi Tito !
>
> IMO you got the best solution, ...
>
> >one more solution without the need to modify scripts is to
> >create a wrapper to wget:
> >
> >#!/bin/sh
> >busybox wget -T xxx $@
>
> ... except, I would do an exec here:
>
> #!/bin/sh
> exec busybox wget -T xxx $@
>
> --
> Harald
Hi,
Why? works for me.
./wget http://busybox.net/downloads/busybox-1.21.1.tar.bz2
Connecting to busybox.net (140.211.167.224:80)
busybox-1.21.1.tar.b 100% |******************************************************************| 2150k 0:00:00 ETA
BTW, this could be even improved to source a global wgetrc file.
Ciao,
Tito
More information about the busybox
mailing list