[PATCH 1/2] wget: make default timeout configurable, remove a duplicate line

Tito farmatito at tiscali.it
Fri Oct 18 20:53:06 UTC 2013


On Friday 18 October 2013 17:56:57 you wrote:
> On Fri, Oct 18, 2013, at 12:52, Tito wrote:
> > Hi,
> > can the wget scripts not be modified like
> > 
> > [ -r /etc/default/wget.conf ] && . /etc/default/wget.conf
> > wget -t $WGET_TIMEOUT
> 
> Hi Tito,
> 
> The whole point of this patch was to avoid having to modify scripts,
> otherwise we'd just have added the lot of -T options.
> 
> - Lauri
> 
> 

Hi,
one more solution without the need to modify scripts is to create a wrapper to wget:

#!/bin/sh
busybox wget -T xxx $@

name it wget and remove the wget link to busybox.

Ciao,
Tito


More information about the busybox mailing list