Wrap isset grandstream_wifi_enabled

Add a condition around the wifi settings. This allows manually setting up the wifi settings on the phone without the device provisioning. If someone wants to use the provisioning config for wifi then set grandstream_wifi_enabled value to true.
This commit is contained in:
FusionPBX
2024-07-05 18:02:59 -06:00
committed by GitHub
parent 0ea012c494
commit e08943ebc2

View File

@@ -1470,10 +1470,11 @@
<!-- ########################################################################################## -->
<!-- ## Network/WiFi Settings GRP2614/GRP2615/GRP2616/GRP2624/GRP2634/GRP2670/GRP2650/GRP2636 -->
<!-- ########################################################################################## -->
{if isset($grandstream_wifi_enabled) && $grandstream_wifi_enabled == 'Yes'}
<!-- # Enable/Disable WiFi -->
<!-- # No - Off, OffAndHideMenuFromLCD, Yes - On. -->
<!-- Pvalue P7800 -->
<item name="network.wifi.enable">Off</item>
<item name="network.wifi.enable">Yes</item>
<!-- # Access Point 1 -->
<!-- # SSID -->
@@ -1838,6 +1839,7 @@
<!-- # VoWLan Target Delay. Low, Medium, or High -->
<!-- Pvalue P82281 -->
<item name="wifi.vowlan_target_delay">Low</item>
{/if}
<!-- ############################################################################## -->
<!-- ## Maintenance/ Web Access ## -->
@@ -4724,4 +4726,4 @@
</config>
</gs_provision>
</gs_provision>