|
|
|
@ -285,7 +285,7 @@ installConfigs(){
|
|
|
|
|
$SUDO mv /etc/dnsmasq.conf /etc/dnsmasq.conf.orig
|
|
|
|
|
$SUDO mv /etc/lighttpd/lighttpd.conf /etc/lighttpd/lighttpd.conf.orig
|
|
|
|
|
$SUDO cp /etc/.pihole/advanced/dnsmasq.conf /etc/dnsmasq.conf
|
|
|
|
|
$SUDO cp /etc/.pihole/advanced/lighttpd.conf /etc/lighttpd/lighttpd.conf
|
|
|
|
|
$SUDO cp /etc/.pihole/advanced/lighttpd.conf /etc/lighttpd/lighttpd.conf
|
|
|
|
|
$SUDO sed -i "s/@INT@/$piholeInterface/" /etc/dnsmasq.conf
|
|
|
|
|
$SUDO echo " done."
|
|
|
|
|
}
|
|
|
|
@ -505,4 +505,4 @@ $SUDO mv $tmpLog $instalLogLoc
|
|
|
|
|
|
|
|
|
|
displayFinalMessage
|
|
|
|
|
$SUDO service dnsmasq start
|
|
|
|
|
$SUDO service lighttpd start
|
|
|
|
|
$SUDO service lighttpd start
|
|
|
|
|