More debug crap.

svn path=/trunk/; revision=31892
This commit is contained in:
Guy Harris 2010-02-16 00:00:50 +00:00
parent 0023958937
commit 915f1482db
1 changed files with 4 additions and 1 deletions

View File

@ -60,8 +60,11 @@ find_proxy() {
# Strip out newlines so that doesn't happen.
#
proxy_enabled=`regtool get /HKCU/Software/Microsoft/Windows/CurrentVersion/Internet\ Settings/ProxyEnable 2>/dev/null | tr -d '\012'`
echo "proxy_enabled is:"
if [ -n "$proxy_enabled ] ; then
echo "proxy_enabled is $proxy_enabled"
echo "In raw bytes, that's:"
echo -n "$proxy_enabled" | od -bc
fi
if [ -n "$proxy_enabled" -a "$proxy_enabled" -ne 0 ] ; then
export http_proxy=`regtool get /HKCU/Software/Microsoft/Windows/CurrentVersion/Internet\ Settings/ProxyServer 2>/dev/null`
echo "Using Internet Explorer proxy settings."