de08bca311
1. Move all configs from /etc/NetworkManager/conf.d to /usr/lib/NetworkManager/conf.d since the latter is more appropriate for distribution-provided config files. In particular this means apk will update them when the package file is changed rather than creating `.apk-new` files. If a user wants to override such a file, they can create a file with the same name under /etc/NetworkManager/conf.d 2. Move all dispatcher scripts from /etc/NetworkManager/dispatcher.d to /usr/lib/NetworkManager/dispatcher.d for the same reason. 3. Rename all configs to have a "50-" prefix so that users can add their own "99-" overrides with a guarantee that they'll be processed after distribution-provided configs. 4. Rename dispatcher scripts to have a "50-" prefix instead of "85-" and "99-" since they're distribution-provided files. 5. Move 50-tethering.conf from the base-ui package to the base-ui-networkmanager package. There are also some device packages that put config files without a numeric prefix in /etc/NetworkManager/conf.d . This MR doesn't change those. [ci:skip-build] already built successfully in CI
10 lines
372 B
Text
10 lines
372 B
Text
# Randomize MAC address during WiFi scans, matches Android's behavior.
|
|
[device]
|
|
wifi.scan-rand-mac-address=yes
|
|
|
|
# Use a random MAC address for each connection,
|
|
# but reuse it per connection, matches Android's behavior.
|
|
# Reusing is needed to have a consistent IP from DHCP or captive portals.
|
|
[connection]
|
|
wifi.cloned-mac-address=stable
|
|
ethernet.cloned-mac-address=stable
|