all repos — dotfiles @ af9f99be0ed0f0d1a88fc8ee12bb0d4d3aaa9206

my *nix dotfiles

Update vpn script to revert to Uni DNS on exit

Signed-off-by: Anirudh <icyph0x@pm.me>
Anirudh icyph0x@pm.me
Sun, 17 Mar 2019 09:11:05 +0530
commit

af9f99be0ed0f0d1a88fc8ee12bb0d4d3aaa9206

parent

98836f086c899d77283b413eec497ff5ad8b4fb1

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M bin/vpnon.shbin/vpnon.sh

@@ -1,4 +1,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 --script-security 2 +sudo cp /etc/resolv.conf.bk /etc/resolv.conf