diff --git a/src/freedombone-controlpanel b/src/freedombone-controlpanel index ccc4c78e..3ef6949c 100755 --- a/src/freedombone-controlpanel +++ b/src/freedombone-controlpanel @@ -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 }