add scripts/postgame.sh
icyphox icyph0x@protonmail.com
Wed, 24 Jan 2018 20:28:52 +0530
2 files changed,
13 insertions(+),
1 deletions(-)
A
scripts/postgame.sh
@@ -0,0 +1,12 @@
+#!/bin/bash + +# remove write-lock +chattr -i /etc/resolv.conf + +# start dhcpcd +systemctl start dhcpcd + +# restart NetworkManager for re-resolving IP +systemctl restart NetworkManager + +
M
scripts/pregame.sh
→
scripts/pregame.sh
@@ -9,4 +9,4 @@ # kill dhcpcd (messes with IP)
systemctl stop dhcpcd # start VPN - openvpn --config ~/icy.ovpn + openvpn --config /home/icyphox/icy.ovpn