summaryrefslogtreecommitdiff
path: root/rules/80-net-name-slot.rules
blob: 278e77f4a127782d66287db6c1f30b8f1857fe32 (plain)
1
2
3
4
5
6
7
8
9
10
11
# do not edit this file, it will be overwritten on update

ACTION=="remove", GOTO="net_name_slot_end"
SUBSYSTEM!="net", GOTO="net_name_slot_end"
NAME!="", GOTO="net_name_slot_end"

ENV{ID_NET_NAME_ONBOARD}!="", NAME="$env{ID_NET_NAME_ONBOARD}"
ENV{ID_NET_NAME_SLOT}!="", NAME="$env{ID_NET_NAME_SLOT}"
ENV{ID_NET_NAME_PATH}!="", NAME="$env{ID_NET_NAME_PATH}"

LABEL="net_name_slot_end"