From 0a79e980125d4d21933af710b90cf0ccd2736da3 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 8 May 2024 10:14:15 +0200 Subject: [PATCH] contrib/rpm: rename section in "22-wifi-mac-addr.conf" For [connection*] and [device*] sections, any suffix is allowed in the group. However (at least for configuration snippets we ship upstream), we want to give a suffix that matches the name of the configuration snippet. It seems more common to use [connection-*] instead of [connection.]. See also "examples/nm-conf.d/*.conf" and "15-carrier-timeout.conf" file which contains a [device-15-carrier-timeout] section. Note that this file (in Fedora) is not configuration (installed in /usr/lib). It is thus not problematic to modify. Fixes: ea8dbd7a6d0f ('contrib/rpm: add "22-wifi-mac-addr.conf" to F40+') (cherry picked from commit 439ddc5101213d52c1bc71ba40207bc217a54359) (cherry picked from commit acc70b01b66655217c57adf02f551b7369ecdfd8) --- contrib/fedora/rpm/22-wifi-mac-addr.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/fedora/rpm/22-wifi-mac-addr.conf b/contrib/fedora/rpm/22-wifi-mac-addr.conf index 2e329c8895..7389a3de73 100644 --- a/contrib/fedora/rpm/22-wifi-mac-addr.conf +++ b/contrib/fedora/rpm/22-wifi-mac-addr.conf @@ -23,7 +23,7 @@ # # See `man 5 nm-settings` for "wifi.cloned-mac-address" and "connection.stable-id". -[connection.22-wifi-mac-addr] +[connection-22-wifi-mac-addr] match-device=type:wifi wifi.cloned-mac-address=stable-ssid