mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-10 19:23:03 +03:00
fix(guix): check in tangled VPN scripts
This commit is contained in:
parent
33a8a2b338
commit
a1eef2a025
2 changed files with 9 additions and 0 deletions
5
bin/scripts/fix-resolve-conf
Executable file
5
bin/scripts/fix-resolve-conf
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
# [[file:../../Guix.org::*VPN][VPN:5]]
|
||||
cp /etc/resolv.conf /etc/resolv.conf-bak
|
||||
echo "nameserver 8.8.8.8" > /etc/resolv.conf
|
||||
# VPN:5 ends here
|
||||
4
bin/scripts/restore-resolve-conf
Executable file
4
bin/scripts/restore-resolve-conf
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
# [[file:../../Guix.org::*VPN][VPN:6]]
|
||||
resolveconf -u
|
||||
# VPN:6 ends here
|
||||
Loading…
Add table
Reference in a new issue