Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whitelist and blacklist from files #13

Closed
matrixik opened this issue Jul 20, 2017 · 2 comments
Closed

Whitelist and blacklist from files #13

matrixik opened this issue Jul 20, 2017 · 2 comments

Comments

@matrixik
Copy link

Maybe you could add option to load whitelisted and blacklisted domains from files.
This way we would be able to share them between many computers.

For default it could be $HOME/.hblock_whitelist and $HOME/.hblock_blacklist.
But I'm not sure how to make it work with systemd service files.

@hectorm
Copy link
Owner

hectorm commented Jul 20, 2017

You can currently do something like:

./hblock -W "$(cat whitelist.txt)" -B "$(cat blacklist.txt)"

@matrixik
Copy link
Author

Did not though about this, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants