lakinduakash / linux-wifi-hotspot

Feature-rich wifi hotspot creator for Linux which provides both GUI and command-line interface. It is also able to create a hotspot using the same wifi card which is connected to an AP already ( Similar to Windows 10).
BSD 2-Clause "Simplified" License
3.26k stars 301 forks source link

Fix clean-up of unmanaged devices in NetworkManager.conf #320

Closed simonbru closed 10 months ago

simonbru commented 1 year ago

The clean-up routine did not account for some characters that the unmanaged-devices option in NetworkManager.conf can contain, such as globbing characters. Because of this, the existing value of unmanaged-devices was not restored correctly. For example, the following:

unmanaged-devices=interface-name:docker?;interface-name:br-????????????

would get truncated to:

unmanaged-devices=interface-name:docker

See https://man.archlinux.org/man/NetworkManager.conf.5.en#Device_List_Format for mentions of these additional characters.

lakinduakash commented 10 months ago

Thanks for the fix buddy!