From d9cfe3ee92ee5109033a717d876d1411f6380ee5 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Mon, 9 Oct 2017 23:28:26 -0400 Subject: [PATCH] foopus --- infobase/configuration/dns/restore_resolv.conf.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 infobase/configuration/dns/restore_resolv.conf.sh diff --git a/infobase/configuration/dns/restore_resolv.conf.sh b/infobase/configuration/dns/restore_resolv.conf.sh new file mode 100644 index 00000000..7fca7348 --- /dev/null +++ b/infobase/configuration/dns/restore_resolv.conf.sh @@ -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 -- 2.34.1