From: Chris Koeritz Date: Tue, 10 Oct 2017 03:28:26 +0000 (-0400) Subject: foopus X-Git-Tag: 2.140.90~145 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=d9cfe3ee92ee5109033a717d876d1411f6380ee5;p=feisty_meow.git foopus --- 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