all repos — dotfiles @ 5ccae76815abadfa8498076f63da05d9eca756c2

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 --script-security 2
6sudo cp /etc/resolv.conf.bk /etc/resolv.conf