proxy problems? --Resolved
Paul Howarth
paul at city-fan.org
Tue Apr 19 09:03:08 UTC 2005
Fabiano Petrone wrote:
> Hello, List
> with great Thanks to Antonio and William I've resolved the problem.
> just a little script to launch from the root console and voila'....up2date
> ready to go! :=>
>
> *****begin up2date.sh************
>
> #!/bin/sh
> export http_proxy=http://192.168.0.20:8000
> up2date
>
> **********end
> up2date.sh*********
Better still, how about this:
***** begin up2date.sh *****
#!/bin/sh
export http_proxy=http://192.168.0.20:8000
exec /usr/sbin/up2date "$@"
***** end up2date.sh *****
This version allows you to pass parameters on the command-line, just
like the regular up2date command, so you can do things like:
# up2date.sh --nox --install packagename
Paul.
More information about the users
mailing list