Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Williams2016-04-25 20:18:55 +0000
committerDavid Williams2016-04-25 20:18:55 +0000
commitdfeaa967879a2132ab98dfc05bd8d8c0d6867d3b (patch)
tree24da7dd048c46749dd7fd4360977d5b4982491a6 /production/miscToolsAndNotes/proxyRelated/getSettings.sh
parent8c73859f8e2f17374df41fbad78b69709f6fabcc (diff)
downloadeclipse.platform.releng.aggregator-dfeaa967879a2132ab98dfc05bd8d8c0d6867d3b.tar.gz
eclipse.platform.releng.aggregator-dfeaa967879a2132ab98dfc05bd8d8c0d6867d3b.tar.xz
eclipse.platform.releng.aggregator-dfeaa967879a2132ab98dfc05bd8d8c0d6867d3b.zip
[releng] Misc cleanup and clarification
Diffstat (limited to 'production/miscToolsAndNotes/proxyRelated/getSettings.sh')
-rwxr-xr-xproduction/miscToolsAndNotes/proxyRelated/getSettings.sh29
1 files changed, 29 insertions, 0 deletions
diff --git a/production/miscToolsAndNotes/proxyRelated/getSettings.sh b/production/miscToolsAndNotes/proxyRelated/getSettings.sh
new file mode 100755
index 000000000..3ced0d849
--- /dev/null
+++ b/production/miscToolsAndNotes/proxyRelated/getSettings.sh
@@ -0,0 +1,29 @@
+#!/usr/bin/env bash
+
+function getconf ()
+{
+ key=$1
+ if [[ -n "${key}" ]]
+ then
+ value=$(gconftool-2 --get "${key}")
+ echo -e "${key} \t\t${value}"
+ fi
+}
+
+getconf /system/http_proxy/use_http_proxy
+getconf /system/http_proxy/use_authentication
+getconf /system/http_proxy/host
+getconf /system/http_proxy/authentication_user
+getconf /system/http_proxy/authentication_password
+getconf /system/http_proxy/port
+getconf /system/proxy/socks_host
+getconf /system/proxy/mode
+getconf /system/proxy/ftp_host
+getconf /system/proxy/secure_host
+getconf /system/proxy/socks_port
+getconf /system/proxy/ftp_port
+getconf /system/proxy/secure_port
+getconf /system/proxy/no_proxy_for
+getconf /system/proxy/gopher_host
+getconf /system/proxy/gopher_port
+

Back to the top