diff options
author | Kay Sievers <kay@vrfy.org> | 2013-03-18 19:31:34 +0100 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2013-03-18 19:31:34 +0100 |
commit | 5a33334b8ad49798510a2ce29e451194c6ecb618 (patch) | |
tree | 51d02bb20af71e6fd71f723b81a122d0801633ab /rules | |
parent | man: udev - clarify when RUN is executed (diff) | |
download | systemd-5a33334b8ad49798510a2ce29e451194c6ecb618.tar.xz systemd-5a33334b8ad49798510a2ce29e451194c6ecb618.zip |
udev: rename kernel command line option to net.ifnames=
Diffstat (limited to 'rules')
-rw-r--r-- | rules/80-net-name-slot.rules | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/rules/80-net-name-slot.rules b/rules/80-net-name-slot.rules index e83eb3ff5f..15b5bc4107 100644 --- a/rules/80-net-name-slot.rules +++ b/rules/80-net-name-slot.rules @@ -4,10 +4,8 @@ ACTION=="remove", GOTO="net_name_slot_end" SUBSYSTEM!="net", GOTO="net_name_slot_end" NAME!="", GOTO="net_name_slot_end" -IMPORT{cmdline}="net.predictable-names" -ENV{net.predictable-names}=="0", GOTO="net_name_slot_end" -IMPORT{cmdline}="rd.net.predictable-names" -ENV{rd.net.predictable-names}=="0", TEST=="/etc/initrd-release", GOTO="net_name_slot_end" +IMPORT{cmdline}="net.ifnames" +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}" |