diff --git a/src/removeadhosts.sh b/src/removeadhosts.sh index af24550..8df9231 100755 --- a/src/removeadhosts.sh +++ b/src/removeadhosts.sh @@ -25,6 +25,7 @@ fi echo 'Adding custom items from /etc/removeadhosts' if [ -e /etc/removeadhosts/adlist.txt ] then + echo "# Custom ad list" >> /etc/hosts cat /etc/removeadhosts/adlist.txt | \ while read CMD; do echo "0.0.0.0 $CMD" >> /etc/hosts