#!/bin/bash


if [ $# -eq 0 ] || [ "$1" == "start" ]; then
  export https_proxy=http://127.0.0.1:3446
  export http_proxy=http://127.0.0.1:3446
  export all_proxy=socks5://127.0.0.1:3446
elif [ "$1" == "stop" ]; then
  unset https_proxy
  unset http_proxy
  unset all_proxy
fi
