source: lliurex-client-env-configuration/trunk/fuentes/install-files/etc/profile.d/http_proxy.sh @ 6783

Last change on this file since 6783 was 6783, checked in by hectorgh, 20 months ago

adding enable/disable client proxy configuration support

File size: 278 bytes
Line 
1#!/bin/sh
2export http_proxy="http://proxy:3128"
3export ftp_proxy="http://proxy:3128"
4export https_proxy="http://proxy:3128"
5export no_proxy="localhost,127.0.0.1,127.0.1.1,127.0.0.0"
6
7if [ "$XDG_CURRENT_DESKTOP" != "" ]; then
8        gsettings set org.gnome.system.proxy mode "auto"
9fi
Note: See TracBrowser for help on using the repository browser.