mirror of
https://gitlab.com/robocopAlpha/pihole_lists.git
synced 2026-05-20 11:39:06 -07:00
convert to run on pizero without dropbox
This commit is contained in:
parent
75dd279630
commit
b71cfd241b
3 changed files with 6 additions and 41 deletions
|
|
@ -38,10 +38,8 @@ if [ ! -f "$LOGFILE" ] ; then
|
|||
fi
|
||||
|
||||
echo "pihole being udpdated on: $(date)" | tee -a "$LOGFILE"
|
||||
curl -L 'https://www.dropbox.com/sh/oyjii6ndqduixt8/AADn57717lc0TE4AW5dxB0p4a?dl=1' --output ./blocklist.zip && unzip -o ./blocklist.zip -x /
|
||||
rm ./blocklist.zip
|
||||
xz -fd MyBlocklist.txt.xz
|
||||
xz -fd facebook_block.txt.xz
|
||||
|
||||
# Blocklists exist from pull_lists
|
||||
|
||||
curl -OJL 'https://gitlab.com/robocopAlpha/pihole_lists/-/raw/main/whitelist.txt'
|
||||
grep "^[^#]" whitelist.txt | sort -u | uniq | tr '\r\n' ' ' >| whitelist
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue