diff --git a/bin/hostlari_yenile b/bin/hostlari_yenile new file mode 100755 index 000000000..635b84ce4 --- /dev/null +++ b/bin/hostlari_yenile @@ -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