1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 14:58:08 +00:00

add back in code to stop dnsmasq and lighttpd during install.

This commit is contained in:
Promofaux 2017-01-28 21:37:21 +00:00
parent 35828f9cea
commit c31b4383e6

View File

@ -1198,6 +1198,10 @@ main() {
# Create directory for Pi-hole storage
mkdir -p /etc/pihole/
stop_service dnsmasq
if [[ ${INSTALL_WEB} == true ]]; then
stop_service lighttpd
fi
# Determine available interfaces
get_available_interfaces
# Find interfaces and let the user choose one