mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Update templates w/ getLogLimited, add $logdata to payload
This commit is contained in:
@@ -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"
|
||||
)
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user