Update templates w/ getLogLimited, add $logdata to payload

This commit is contained in:
billz
2023-11-28 10:05:06 +00:00
parent 05210e8967
commit 74656c63ed
6 changed files with 14 additions and 10 deletions

View File

@@ -135,6 +135,8 @@ function DisplayHostAPDConfig()
$selectedHwMode = 'w';
}
}
exec('sudo /bin/chmod o+r '.RASPI_HOSTAPD_LOG);
$logdata = getLogLimited(RASPI_HOSTAPD_LOG);
echo renderTemplate(
"hostapd", compact(
@@ -153,7 +155,8 @@ function DisplayHostAPDConfig()
"arrHostapdConf",
"operatingSystem",
"selectedHwMode",
"countryCodes"
"countryCodes",
"logdata"
)
);
}