Re: proxy problems? --Resolved

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

 



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.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux