Skip to content
Snippets Groups Projects
Commit e7363daa authored by Bob Mottram's avatar Bob Mottram
Browse files

Update pihole after setting a static local IP address

parent d925c4f0
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment