From 9d8631daa5ed23c8a24f2c1a651fcfbfbeac0f77 Mon Sep 17 00:00:00 2001 From: Paul Philippov Date: Fri, 8 Nov 2024 03:17:16 -0500 Subject: [PATCH] webui: wlanap, refactor reading data from env --- package/thingino-webui/files/var/www/x/config-wlan.cgi | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/package/thingino-webui/files/var/www/x/config-wlan.cgi b/package/thingino-webui/files/var/www/x/config-wlan.cgi index f4b595a14..a0401f0a5 100755 --- a/package/thingino-webui/files/var/www/x/config-wlan.cgi +++ b/package/thingino-webui/files/var/www/x/config-wlan.cgi @@ -60,9 +60,7 @@ fi wlan_mac="$(get wlanmac)" wlan_pass="$(get wlanpass)" wlan_ssid="$(get wlanssid)" -wlanap_enabled="$(get wlanap_enabled)" -wlanap_pass="$(get wlanap_pass)" -wlanap_ssid="$(get wlanap_ssid)" +read_from_env "wlanap" # defaults [ -z "$wlanap_ssid" ] && wlanap_ssid="thingino-ap"