foopus
authorChris Koeritz <fred@gruntose.com>
Tue, 10 Oct 2017 03:28:26 +0000 (23:28 -0400)
committerChris Koeritz <fred@gruntose.com>
Tue, 10 Oct 2017 03:28:26 +0000 (23:28 -0400)
infobase/configuration/dns/restore_resolv.conf.sh [new file with mode: 0644]

diff --git a/infobase/configuration/dns/restore_resolv.conf.sh b/infobase/configuration/dns/restore_resolv.conf.sh
new file mode 100644 (file)
index 0000000..7fca734
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+# gets rid of any customized resolv.conf file for the local machine and reinstates the standard link for it.
+
+sudo rm /etc/resolv.conf
+sudo ln -s /var/run/resolvconf/resolv.conf /etc/resolv.conf
+sudo resolvconf -u