tablespoon / fun

232 stars 52 forks source link

Method to add another host file to adblocker.sh? #8

Open yieldman opened 8 years ago

yieldman commented 8 years ago

Is adding another host file to HOST_LIST variable enough or some precautions need to be taken ? To add don pollock's host file and hpHosts tracking servers file, what would be the preferred procedure ?

tablespoon commented 8 years ago

Sorry for the slow response! Life has been kind of hectic recently.

As long as those hosts files are the same format, simply adding them to the variable should be sufficient. I would just caution you to first run 'df' and ensure that /tmp has enough space to store the lists you intend to add. If so, you should be good to go.

Do me a favor and let me know the exact URLs you're adding when you get it working. I'll add them into the script and credit your addition in my reddit post.