Update pihole after setting a static local IP address
This commit is contained in:
parent
d925c4f00d
commit
e7363daa76
|
@ -1373,6 +1373,12 @@ Enter a static local IP address for this system.\n\nIt will typically be 192.168
|
|||
echo '# network 192.168.7.0' >> /etc/network/interfaces
|
||||
echo '# gateway 192.168.7.1' >> /etc/network/interfaces
|
||||
fi
|
||||
|
||||
# if pi-hole is installed then update the IP address it uses
|
||||
if [ -f /usr/local/bin/pihole ]; then
|
||||
function_check pihole_update
|
||||
pihole_update
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue