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 #14

Closed
veloute opened this issue Dec 15, 2017 · 2 comments
Closed

Whitelist #14

veloute opened this issue Dec 15, 2017 · 2 comments

Comments

@veloute
Copy link

veloute commented Dec 15, 2017

Is the whitelist consistent or is it a once-per-command flag?
If there isn't a way to make the whitelist permanent by default, is there a way to change it without having to go into the script and add domains manually every time?

@hectorm
Copy link
Owner

hectorm commented Dec 15, 2017

It's a once-per-command flag, but you can define the whitelist in an external file and call hblock with these arguments:

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

Does this solve your problem?

@veloute
Copy link
Author

veloute commented Dec 18, 2017

Yes, this solution fits my needs perfectly. Thanks. 👍

@veloute veloute closed this as completed Dec 18, 2017
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