Define RASPI_DHCPCD_LOG

This commit is contained in:
billz
2021-11-17 18:20:03 +00:00
parent 8cef08cc81
commit e75333e29d
5 changed files with 6 additions and 4 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) {