[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: proxy problems? --Resolved



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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]