all repos — dotfiles @ 4900e7c0e483b53703afa758b0e59d38e034c7e5

my *nix dotfiles

bin/pregame.sh (view raw)

 1#!/bin/bash
 2# change nameservers
 3 echo nameserver 8.8.8.8 > /etc/resolv.conf
 4
 5# write-lock the file (even root can't edit it)
 6 chattr +i /etc/resolv.conf
 7
 8# kill dhcpcd (messes with IP)
 9 systemctl stop dhcpcd
10
11# start VPN
12 openvpn --config /home/icyphox/icy.ovpn