Update w/ hostapd svc indicator

This commit is contained in:
billz 2020-02-02 12:40:24 +00:00
parent f0e94780b8
commit 49cb572069

View file

@ -41,9 +41,11 @@ if ($cputemp > 70) {
// hostapd status
$hostapd = $system->hostapdStatus();
if ($hostapd) {
$hostapd_status = "success";
if ($hostapd[0] ==1) {
$hostapd_status = "active";
$hostapd_led = "service-status-up";
} else {
$hostapd_status = "danger";
$hostapd_status = "inactive";
$hostapd_led = "service-status-down";
}