YunoHost-Apps / hotspot_ynh

Wifi Hotspot app for YunoHost
GNU Affero General Public License v3.0
39 stars 19 forks source link

v 2.0 won't let me choose the device #91

Closed Thatoo closed 11 months ago

Thatoo commented 2 years ago

Describe the bug

In the v2.0 app setting, the field to choose the device doesn't give me choices.

Context

Steps to reproduce

Expected behavior

I would expect to be able to choose only one of the two device and set one or several hotspot to this specific device

Then I hope some day we won't have the choice betwwen devices in a field but that we'll have a page (or tabs) for each device and will be able to set specific hotspots to each device as explain in here : https://github.com/YunoHost-Apps/hotspot_ynh/issues/70

Thatoo commented 2 years ago

Will it be solved thanks to https://github.com/YunoHost-Apps/hotspot_ynh/pull/95 ?

alexAubin commented 2 years ago

Possibly yes

Thatoo commented 2 years ago

I could solve it thanks to the conversation of this PR : https://github.com/YunoHost-Apps/hotspot_ynh/pull/95 line 86 of scripts/config should be changed from for device in $(iw_devices) to for device in $(iw_devices | sed "s/|/ /g")

Once the PR corrected and merged, this issue can be closed.