mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Update w/ hostapd svc indicator
This commit is contained in:
parent
f0e94780b8
commit
49cb572069
@ -41,9 +41,11 @@ if ($cputemp > 70) {
|
|||||||
|
|
||||||
// hostapd status
|
// hostapd status
|
||||||
$hostapd = $system->hostapdStatus();
|
$hostapd = $system->hostapdStatus();
|
||||||
if ($hostapd) {
|
if ($hostapd[0] ==1) {
|
||||||
$hostapd_status = "success";
|
$hostapd_status = "active";
|
||||||
|
$hostapd_led = "service-status-up";
|
||||||
} else {
|
} else {
|
||||||
$hostapd_status = "danger";
|
$hostapd_status = "inactive";
|
||||||
|
$hostapd_led = "service-status-down";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user