Skip to content

Commit

Permalink
convenient script to extract current list
Browse files Browse the repository at this point in the history
  • Loading branch information
Ragib Badaruddin committed Oct 2, 2020
1 parent 1147fe1 commit 5621672
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@

# VsCode
.vscode

# temp folder
temp/
8 changes: 8 additions & 0 deletions scripts/extract-blacklist.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

docker pull ragibkl/adblock_dns
docker run --rm -ti \
-v $(pwd)/temp:/temp_data \
--entrypoint=cp \
ragibkl/adblock_dns \
/etc/bind/blacklist.zone /temp_data/.

0 comments on commit 5621672

Please sign in to comment.