Update pihole-sync

This commit is contained in:
2022-11-29 20:30:16 -06:00
parent e95c1bc825
commit fd0037d2b7

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 eth0 | awk '{print $4}' | cut -d/ -f1) != *"10.10.10.11"* ]; 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