Update pihole-sync

This commit is contained in:
2022-11-29 20:17:31 -06:00
parent a1f384ebdc
commit 1e70970225

View File

@@ -107,7 +107,7 @@ pull_initialize () {
# Overwrite local files
# cp $custom_list $pihole_dir
# cp $cname_list $dnsmasq_dir
if [[ $(/sbin/ip -o -4 addr list br0 | awk '{print $4}' | cut -d/ -f1) != "10.5.1.1" ] && [ $(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) != "10.10.10.10" ]]; then
if [ $(/sbin/ip -o -4 addr list br0 | awk '{print $4}' | cut -d/ -f1) != "10.5.1.1" ] && [ $(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) != "10.10.10.10" ]; then
# cp $localdomains_list $dnsmasq_dir
echo "copying"
else