From e08943ebc26e0ca51bb98610a834c93378b45bad Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 5 Jul 2024 18:02:59 -0600 Subject: [PATCH] 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. --- .../templates/provision/grandstream/grp2612w/{$mac}.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/templates/provision/grandstream/grp2612w/{$mac}.xml b/resources/templates/provision/grandstream/grp2612w/{$mac}.xml index 4dd7bdce42..0f20a02791 100644 --- a/resources/templates/provision/grandstream/grp2612w/{$mac}.xml +++ b/resources/templates/provision/grandstream/grp2612w/{$mac}.xml @@ -1470,10 +1470,11 @@ + {if isset($grandstream_wifi_enabled) && $grandstream_wifi_enabled == 'Yes'} - Off + Yes @@ -1838,6 +1839,7 @@ Low + {/if} @@ -4724,4 +4726,4 @@ - \ No newline at end of file +