rtrouton / rtrouton_scripts

Scripts to share
MIT License
1.3k stars 491 forks source link

CasperCheck add /etc/hosts check #17

Closed Tecnico1931 closed 9 years ago

Tecnico1931 commented 9 years ago

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 }

rtrouton commented 9 years ago

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