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

@@ -228,7 +228,7 @@ function updateDnsmasqConfig($iface,$status)
// write default 090_raspap.conf
$config = '# RaspAP default config'.PHP_EOL;
$config .='log-facility=/tmp/dnsmasq.log'.PHP_EOL;
$config .='log-facility='.RASPI_DHCPCD_LOG.PHP_EOL;
$config .='conf-dir=/etc/dnsmasq.d'.PHP_EOL;
// handle log option
if ($_POST['log-dhcp'] == "1") {