chiark / gitweb /
rules: net-setup-link - preserve ID_NET_LINK_FILE and ID_NET_NAME after MOVE
[elogind.git] / rules / 80-net-setup-link.rules
index 6e411a91f0ec9766c8351348825ca331863b3b5f..27c43b9437dbba99038552e5d315e2d9f19ce71f 100644 (file)
@@ -4,6 +4,9 @@ SUBSYSTEM!="net", GOTO="net_setup_link_end"
 
 IMPORT{builtin}="path_id"
 
+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"
 
 IMPORT{builtin}="net_setup_link"