mirror of
https://gitlab.com/robocopAlpha/pihole_lists.git
synced 2026-05-17 18:42:16 -07:00
update paths
This commit is contained in:
parent
e581e371b9
commit
c41756adc4
5 changed files with 10 additions and 10 deletions
|
|
@ -45,11 +45,11 @@ if ping -c 1 -W 2 www.google.fi &> /dev/null ; then
|
|||
fetch_blocklist 'https://raw.githubusercontent.com/Spam404/lists/master/main-blacklist.txt' "Spam404.txt"
|
||||
|
||||
# DC old lists
|
||||
fetch_blocklist 'https://gitlab.com/ZeroDot1/CoinBlockerLists/-/raw/master/list.txt' "coinblocker.list.txt"
|
||||
# fetch_blocklist 'https://gitlab.com/ZeroDot1/CoinBlockerLists/-/raw/master/list.txt' "coinblocker.list.txt"
|
||||
fetch_blocklist 'https://gitlab.com/ZeroDot1/CoinBlockerLists/-/raw/master/list_browser.txt' "coinblocker.browser.txt"
|
||||
fetch_blocklist 'https://energized.pro/porn/formats/domains.txt' "profanity.txt"
|
||||
# fetch_blocklist 'https://energized.pro/porn/formats/domains.txt' "profanity.txt"
|
||||
# fetch_blocklist 'https://blocklistproject.github.io/Lists/alt-version/porn-nl.txt' "profanity_ultra.txt" # Has 2 million domains
|
||||
fetch_blocklist 'https://theantisocialengineer.com/AntiSocial_Blacklist_Community_V1.txt' "AntiSocial_Blacklist_Community_V1.txt"
|
||||
# fetch_blocklist 'https://theantisocialengineer.com/AntiSocial_Blacklist_Community_V1.txt' "AntiSocial_Blacklist_Community_V1.txt"
|
||||
|
||||
# Steven Black's list needs some extra clean up
|
||||
curl -sSL 'https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts' >| 'tmp.txt'
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#--- Set parameters based on Distribution
|
||||
if [ "$(uname)" == "Darwin" ]; then
|
||||
cd '/Users/deepankar/OneDrive - O365 Turun yliopisto/Git/Gitlab.DC/pihole_lists' || echo "can't find ~/Git/Gitlab.DC/pihole_lists"
|
||||
cd '/Users/deepankar/Library/CloudStorage/GoogleDrive-robocopalpha404@gmail.com/My Drive/Git/Gitlab.DC/pihole_lists' || echo "can't find ~/Git/Gitlab.DC/pihole_lists"
|
||||
elif [ "$(uname)" == "Linux" ]; then
|
||||
cd '/home/dietpi/pihole_lists' || echo "/home/dietpi not found."
|
||||
else
|
||||
|
|
|
|||
|
|
@ -38,11 +38,11 @@ git add -u ; git commit -m "Update `date +'%Y-%m-%d'`" ; git push
|
|||
Then updating your pihole instances is as simple as running the included `update.pi.sh` script on your pihole from your git repo:
|
||||
|
||||
```sh
|
||||
curl -L "https://gitlab.com/robocopAlpha/pihole_lists/-/raw/master/update.pi.sh" | bash
|
||||
curl -L "https://gitlab.com/robocopAlpha/pihole_lists/-/raw/main/update.pi.sh" | bash
|
||||
|
||||
# To make it even easier
|
||||
# just add this to your ~/.bashrc or ~/.zshrc
|
||||
alias update.pi='curl -L "https://gitlab.com/robocopAlpha/pihole_lists/-/raw/master/update.pi.sh" | bash'
|
||||
alias update.pi='curl -L "https://gitlab.com/robocopAlpha/pihole_lists/-/raw/main/update.pi.sh" | bash'
|
||||
|
||||
# Command to easily add the alias is included in the update.pi.sh
|
||||
```
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ if [ "$(uname)" == "Darwin" ]; then
|
|||
# # usage: getMD5 'filename' > outfile
|
||||
# echo "$(md5 -q ${1})"
|
||||
# }
|
||||
HOME_DIR=/Users/deepankar/OneDrive\ -\ O365\ Turun\ yliopisto/Git/Gitlab.DC
|
||||
HOME_DIR='/Users/deepankar/Library/CloudStorage/GoogleDrive-robocopalpha404@gmail.com/My Drive/Git/Gitlab.DC'
|
||||
RCloneConfig=/Users/deepankar/.config/rclone/rclone.conf
|
||||
elif [ "$(uname)" == "Linux" ]; then
|
||||
# echo "Setting params for Linux..."
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# ------- How to use ------:
|
||||
# curl -L 'https://gitlab.com/robocopAlpha/pihole_lists/-/raw/master/update.pi.sh' | bash
|
||||
# curl -L 'https://gitlab.com/robocopAlpha/pihole_lists/-/raw/main/update.pi.sh' | bash
|
||||
|
||||
|
||||
# --------- Make alias ---- :
|
||||
# echo "alias update.pi='curl -L "https://gitlab.com/robocopAlpha/pihole_lists/-/raw/master/update.pi.sh" | bash'" >> .bashrc
|
||||
# echo "alias update.pi='curl -L "https://gitlab.com/robocopAlpha/pihole_lists/-/raw/main/update.pi.sh" | bash'" >> .bashrc
|
||||
|
||||
# echo "alias update.pi='curl -L "https://gitlab.com/robocopAlpha/pihole_lists/-/raw/master/update.pi.sh" | bash'" >> .zshrc
|
||||
# echo "alias update.pi='curl -L "https://gitlab.com/robocopAlpha/pihole_lists/-/raw/main/update.pi.sh" | bash'" >> .zshrc
|
||||
|
||||
|
||||
# ----- Begin Script ------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue