From 7674feaf6141d7e27dbe3dc3175359bc821343c2 Mon Sep 17 00:00:00 2001 From: billz Date: Wed, 22 Jun 2022 11:50:00 +0100 Subject: [PATCH] Add operatingSystem check to bridge option --- includes/hostapd.php | 4 +++- templates/hostapd/advanced.php | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/includes/hostapd.php b/includes/hostapd.php index fc301417..d1160d6d 100755 --- a/includes/hostapd.php +++ b/includes/hostapd.php @@ -18,6 +18,7 @@ function DisplayHostAPDConfig() { $status = new StatusMessages(); $system = new \RaspAP\System\Sysinfo; + $operatingSystem = $system->operatingSystem(); $arrConfig = array(); $arr80211Standard = [ 'a' => '802.11a - 5 GHz', @@ -122,7 +123,8 @@ function DisplayHostAPDConfig() "arrEncType", "arrTxPower", "txpower", - "arrHostapdConf" + "arrHostapdConf", + "operatingSystem" ) ); } diff --git a/templates/hostapd/advanced.php b/templates/hostapd/advanced.php index f331734b..89d90c72 100644 --- a/templates/hostapd/advanced.php +++ b/templates/hostapd/advanced.php @@ -4,7 +4,8 @@
- /> + + />