Created
July 14, 2018 08:29
-
-
Save JosephShenton/d49523f8e4332e891465a220b21a6dbd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
printf "\n##########\n# Fixing our screw up..."; | |
printf "\n# Fixing Hosts."; | |
echo "##" > /etc/hosts; | |
echo "# Host Database" >> /etc/hosts; | |
echo "#" >> /etc/hosts; | |
echo "# localhost is used to configure the loopback interface" >> /etc/hosts; | |
echo "# when the system is booting. Do not change this entry." >> /etc/hosts; | |
echo "##" >> /etc/hosts; | |
echo "127.0.0.1 localhost" >> /etc/hosts; | |
echo "255.255.255.255 broadcasthost" >> /etc/hosts; | |
echo "::1 localhost" >> /etc/hosts; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment