diff options
author | Tom Gundersen <teg@jklm.no> | 2013-10-30 04:10:19 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2013-10-30 15:36:04 +0100 |
commit | 3e137a1b9a0eac2bf43d493d3302c3c959b6ccdb (patch) | |
tree | c62ca7aa5a75856fcf58ae14ba4f4cc545cca3f0 /rules | |
parent | 415e7f65dbc66089f0d1b9de6785026596df88e7 (diff) |
udev: link-config - let udevd set the ifname
Diffstat (limited to 'rules')
-rw-r--r-- | rules/80-net-setup-link.rules (renamed from rules/85-net-configure-link.rules) | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rules/85-net-configure-link.rules b/rules/80-net-setup-link.rules index d0ecb93058..6e411a91f0 100644 --- a/rules/85-net-configure-link.rules +++ b/rules/80-net-setup-link.rules @@ -6,6 +6,8 @@ IMPORT{builtin}="path_id" ACTION!="add", GOTO="net_setup_link_end" -RUN{builtin}="net_setup_link" +IMPORT{builtin}="net_setup_link" + +NAME=="", ENV{ID_NET_NAME}!="", NAME="$env{ID_NET_NAME}" LABEL="net_setup_link_end" |