Update pihole-sync

This commit is contained in:
2022-11-29 20:29:38 -06:00
parent fb28d6af98
commit e95c1bc825

View File

@@ -178,7 +178,7 @@ pull () {
# $SUDO service pihole-FTL stop
# 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 eth0 | awk '{print $4}' | cut -d/ -f1) != *"10.10.10.11"* ]; then
# cp $localdomains_list $dnsmasq_dir
echo "copying"
else