Added a comment to identify custom blocks
parent
495be81f2e
commit
aae6bdefda
|
|
@ -25,6 +25,7 @@ fi
|
||||||
echo 'Adding custom items from /etc/removeadhosts'
|
echo 'Adding custom items from /etc/removeadhosts'
|
||||||
if [ -e /etc/removeadhosts/adlist.txt ]
|
if [ -e /etc/removeadhosts/adlist.txt ]
|
||||||
then
|
then
|
||||||
|
echo "# Custom ad list" >> /etc/hosts
|
||||||
cat /etc/removeadhosts/adlist.txt | \
|
cat /etc/removeadhosts/adlist.txt | \
|
||||||
while read CMD; do
|
while read CMD; do
|
||||||
echo "0.0.0.0 $CMD" >> /etc/hosts
|
echo "0.0.0.0 $CMD" >> /etc/hosts
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue