X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=infobase%2Fconfiguration%2Fdns%2Frestore_resolv.conf.sh;fp=infobase%2Fconfiguration%2Fdns%2Frestore_resolv.conf.sh;h=7fca73487cea4dda2a29abec75f6bcc660b20a7c;hb=7b39f7e279005c8466ef508220a532ce2aa4abf8;hp=0000000000000000000000000000000000000000;hpb=3fbd372b35b15a19fb171d5ae34294ff7b1e6485;p=feisty_meow.git 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