anudeepND / whitelist

A simple tool to add commonly white listed domains to your Pi-Hole setup.
MIT License
4.22k stars 282 forks source link

Overwrite existing whitelist #130

Closed TheCableGuy99 closed 4 years ago

TheCableGuy99 commented 4 years ago

Hi,

If I install this will it overwrite my existing whitelist? Do I need to back it up first?

And will new manually added domains I personally add be okay? And will updates not overwrite my personally added domains?

Thanks.

Obihoernchen commented 4 years ago

No it will append (not overwrite) entries to your existing whitelist and remove duplicates afterwards. Your domains are kept.

notDavid commented 4 years ago

But...

does that mean this repo can never remove items from their whitelist? These removed items would not be removed from our local whitelist when using whitelist.sh?

anudeepND commented 4 years ago

@notDavid It dosent any entries from the user whitelist.txt and a backup of the whitelist.txt will be made with the name whitelist.txt.old