Merge pull request #274 from jwslater0823/master

80-net-name-slot.rules: consider ID_NET_NAME_MAC as a name
This commit is contained in:
Boian Bonev 2024-01-18 01:03:06 +05:30 committed by GitHub
commit 611b6fbae2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,5 +10,6 @@ ENV{net.ifnames}=="0", GOTO="net_name_slot_end"
NAME=="", ENV{ID_NET_NAME_ONBOARD}!="", NAME="$env{ID_NET_NAME_ONBOARD}"
NAME=="", ENV{ID_NET_NAME_SLOT}!="", NAME="$env{ID_NET_NAME_SLOT}"
NAME=="", ENV{ID_NET_NAME_PATH}!="", NAME="$env{ID_NET_NAME_PATH}"
NAME=="", ENV{ID_NET_NAME_MAC}!="", NAME="$env{ID_NET_NAME_MAC}"
LABEL="net_name_slot_end"