all repos — dotfiles @ 85e093fc5578dde25c8c3de4e3d44f632134ff6f

my *nix dotfiles

bin/vpnon.sh (view raw)

1#!/usr/bin/env bash
2
3sudo cp /etc/resolv.conf /etc/resolv.conf.bk
4sudo cp ~/dotfiles/resolv.conf /etc/resolv.conf
5sudo openvpn --config ~/client.ovpn
6sudo cp /etc/resolv.conf.bk /etc/resolv.conf