rtrouton/rtrouton_scripts

CasperCheck add /etc/hosts check

Tecnico1931 opened this issue · 1 comments

Add check in the /etc/hosts file in case users redirecting casper traffic to 127.0.0.1.
DeleteEtcHostEntries(){
sudo sed -i “” “/casper*/d” /etc/hosts
}

Will not be adding. That's something that may work for your shop, but may cause problems for others.