summaryrefslogtreecommitdiff
path: root/rules/80-net-setup-link.rules
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-09-08 17:16:24 +0200
committerTom Gundersen <teg@jklm.no>2014-09-08 17:18:43 +0200
commite4d7c49050769877c7f10184bbe2a1e77d0b5333 (patch)
treef3308bafface850e32e2b41e6e45a40e2172bd6b /rules/80-net-setup-link.rules
parent4cb40606785c30710bcf39bba33167bee66ad0bd (diff)
rules: net-setup-link - preserve ID_NET_LINK_FILE and ID_NET_NAME after MOVE
Diffstat (limited to 'rules/80-net-setup-link.rules')
-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"