Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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