Update pihole-sync
This commit is contained in:
1 parent
fb28d6af98
commit
e95c1bc825
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user