periodic check-in
This commit is contained in:
@@ -3,6 +3,14 @@
|
||||
# when the first positional command line parameter is 'on'
|
||||
# and unsets them when the first positional command line parameter is 'off'
|
||||
#
|
||||
# proxy locations are documented at:
|
||||
# https://confluence.oraclecorp.com/confluence/pages/viewpage.action?spaceKey=CORPNET&title=Corporate+Proxy+Environment
|
||||
#
|
||||
# this will get the first defined proxy from the PAC file:
|
||||
# WPAD=http://wpad.oraclecorp.com/wpad.dat
|
||||
# L_PROXY=$(curl -s "$WPAD" | \
|
||||
# grep 'proxies =' | sed -n 's/^[^"]*"\(.*\)".*/\1/p' | \
|
||||
# tr ';' '\n' | grep 'PROXY' | head -1 | sed 's/PROXY //')
|
||||
#
|
||||
# usage:
|
||||
# source proxy off
|
||||
|
||||
Reference in New Issue
Block a user