Update pihole-sync
This commit is contained in:
16
pihole-sync
16
pihole-sync
@@ -32,10 +32,18 @@ update='December 26, 2020'
|
||||
# Project Home: https://github.com/stevejenkins/pihole-cloudsync
|
||||
###########################################################################
|
||||
# CONSTANTS
|
||||
personal_git_dir='/usr/local/bin/my-pihole-lists'
|
||||
pihole_dir='/etc/pihole'
|
||||
gravity_db='/etc/pihole/gravity.db'
|
||||
dnsmasq_dir='/etc/dnsmasq.d/'
|
||||
personal_git_dir='/usr/local/bin/my-pihole-sync'
|
||||
|
||||
if [ -d "/opt/docker-pi-hole/etc-pihole" ]; then
|
||||
pihole_dir='/opt/docker-pi-hole/etc-pihole'
|
||||
gravity_db='/opt/docker-pi-hole/etc-pihole/gravity.db'
|
||||
dnsmasq_dir='/opt/docker-pi-hole/etc-dnsmasq.d/'
|
||||
} else {
|
||||
pihole_dir='/etc/pihole'
|
||||
gravity_db='/etc/pihole/gravity.db'
|
||||
dnsmasq_dir='/etc/dnsmasq.d/'
|
||||
}
|
||||
|
||||
ad_list='adlist.csv'
|
||||
custom_list='custom.list'
|
||||
domain_list='domainlist.csv'
|
||||
|
||||
Reference in New Issue
Block a user