summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-09-08 17:16:24 +0200
committerAnthony G. Basile <blueness@gentoo.org>2014-09-10 21:05:42 -0400
commit30a0c571a932a890cd9268f4f8ba215ba191ee05 (patch)
tree508b9fb65f5f33bcc1012e23d928fdf6c3db81f5
parentc0bd83237e069c80a6d3840134624e13aedd706c (diff)
rules: net-setup-link - preserve ID_NET_LINK_FILE and ID_NET_NAME after MOVE
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
-rw-r--r--rules/80-net-setup-link.rules3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules/80-net-setup-link.rules b/rules/80-net-setup-link.rules
index f390fcb0dd..27c43b9437 100644
--- a/rules/80-net-setup-link.rules
+++ b/rules/80-net-setup-link.rules
@@ -4,7 +4,8 @@ SUBSYSTEM!="net", GOTO="net_setup_link_end"
IMPORT{builtin}="path_id"
-ACTION=="move", IMPORT{db}="ID_NET_DRIVER"
+ACTION=="move", IMPORT{db}="ID_NET_DRIVER", IMPORT{db}="ID_NET_LINK_FILE",
+IMPORT{db}="ID_NET_NAME"
ACTION!="add", GOTO="net_setup_link_end"