all repos — dotfiles @ 3668cec0ad0e05a9d43432250db33d27935c7b37

my *nix dotfiles

bin/vpnon.sh (view raw)

 1
 2
 3
 4
 5
 6
#!/usr/bin/env bash

sudo cp /etc/resolv.conf /etc/resolv.conf.bk
sudo cp ~/dotfiles/resolv.conf /etc/resolv.conf
sudo openvpn --config ~/client.ovpn
sudo cp /etc/resolv.conf.bk /etc/resolv.conf