hostlari_yenile

This commit is contained in:
milisarge 2017-04-20 05:25:27 +03:00
parent ecbb0df2d0
commit cb52dc46a2
1 changed files with 10 additions and 0 deletions

10
bin/hostlari_yenile Executable file
View File

@ -0,0 +1,10 @@
#!/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