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"