README.md 371 Bytes
Newer Older
Jacob Rundall's avatar
Jacob Rundall committed
1
2
# ncsa_pac_files

Jacob Rundall's avatar
Jacob Rundall committed
3
On macOS, this can be easily loaded/reloaded with a script like this:
Jacob Rundall's avatar
Jacob Rundall committed
4
5
6
7
8
9
10
11
12
13
```
#!/usr/bin/env bash
set -x  # echo on
PROXY_FILE_URL="https://git.ncsa.illinois.edu/rundall/ncsa_pac_files/-/raw/master/ncsa_http_proxy.pac"
networksetup -setautoproxystate Wi-Fi off
networksetup -setautoproxyurl Wi-Fi "$PROXY_FILE_URL"
networksetup -getautoproxyurl Wi-Fi
```