chiark / gitweb /
c5f1b3885b0e5c4402ed9d155d8a277d0652fc1e
[elogind.git] / 80-net-name-slot.rules
1 # do not edit this file, it will be overwritten on update
2
3 ACTION!="add", GOTO="net_name_slot_end"
4 SUBSYSTEM!="net", GOTO="net_name_slot_end"
5 NAME!="", GOTO="net_name_slot_end"
6
7 IMPORT{cmdline}="net.ifnames"
8 ENV{net.ifnames}=="0", GOTO="net_name_slot_end"
9
10 NAME=="", ENV{ID_NET_NAME_ONBOARD}!="", NAME="$env{ID_NET_NAME_ONBOARD}"
11 NAME=="", ENV{ID_NET_NAME_SLOT}!="", NAME="$env{ID_NET_NAME_SLOT}"
12 NAME=="", ENV{ID_NET_NAME_PATH}!="", NAME="$env{ID_NET_NAME_PATH}"
13
14 LABEL="net_name_slot_end"