10 lines
229 B
Bash
Executable file
10 lines
229 B
Bash
Executable file
#!/bin/bash
|
|
|
|
cd /tmp
|
|
#wget http://sbc.io/hosts/hosts
|
|
wget https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
|
|
mv /etc/hosts /tmp/hosts-eski
|
|
mv hosts /etc/hosts
|
|
if [ -f ~/.hosts ]; then
|
|
cat ~/.hosts >> /etc/hosts
|
|
fi
|