Update pihole-sync
This commit is contained in:
@@ -34,15 +34,15 @@ update='December 26, 2020'
|
||||
# CONSTANTS
|
||||
personal_git_dir='/usr/local/bin/my-pihole-sync'
|
||||
|
||||
if [ -d "/opt/docker-pi-hole/etc-pihole" ]; then
|
||||
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 {
|
||||
else
|
||||
pihole_dir='/etc/pihole'
|
||||
gravity_db='/etc/pihole/gravity.db'
|
||||
dnsmasq_dir='/etc/dnsmasq.d/'
|
||||
}
|
||||
fi
|
||||
|
||||
ad_list='adlist.csv'
|
||||
custom_list='custom.list'
|
||||
|
||||
Reference in New Issue
Block a user