diff --git a/templates/dashboard.php b/templates/dashboard.php index f27595ea..dc043528 100755 --- a/templates/dashboard.php +++ b/templates/dashboard.php @@ -6,13 +6,26 @@ if ($arrHostapdConf['WifiAPEnable'] == 1) { $client_iface = RASPI_WIFI_CLIENT_INTERFACE; } exec('cat '.RASPI_DNSMASQ_LEASES.'| grep -E $(arp -i '.$client_iface.' -n | grep -oE "(([0-9]|[a-f]|[A-F]){2}:){5}([0-9]|[a-f]|[A-F]){2}" | tr "\n" "\|" | sed "s/.$//")', $clients); +$ifaceStatus = $wlan0up ? "running" : "stopped"; +$ifaceLabel = $wlan0up ? "up" : "down"; ?>
-
+
+
+
+ +
+
+ +
+
+
- showMessages(); ?>
@@ -47,10 +60,10 @@ exec('cat '.RASPI_DNSMASQ_LEASES.'| grep -E $(arp -i '.$client_iface.' -n | grep

-

-


-

-

+

+


+

+