Define RASPI_DHCPCD_LOG. Resolves #1058

This commit is contained in:
billz
2021-11-17 18:06:43 +00:00
parent a2e1b4bb68
commit f077aedde0
6 changed files with 7 additions and 5 deletions

View File

@@ -78,7 +78,7 @@ function DisplayAdBlockConfig()
$adblock_custom_content = file_get_contents(RASPI_ADBLOCK_LISTPATH .'custom.txt');
$adblock_log = '';
exec('sudo chmod o+r /tmp/dnsmasq.log');
exec('sudo chmod o+r'. RASPI_DHCPCD_LOG);
$handle = fopen("/tmp/dnsmasq.log", "r");
if ($handle) {
while (($line = fgets($handle)) !== false) {