Skip to content

Commit

Permalink
webui: wlanap, refactor reading data from env
Browse files Browse the repository at this point in the history
  • Loading branch information
themactep committed Nov 8, 2024
1 parent 1b08e5b commit 9d8631d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions package/thingino-webui/files/var/www/x/config-wlan.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 9d8631d

Please sign in to comment.