|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
From e4d7c49050769877c7f10184bbe2a1e77d0b5333 Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
From: Tom Gundersen <teg@jklm.no>
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
Date: Mon, 8 Sep 2014 17:16:24 +0200
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
Subject: [PATCH] rules: net-setup-link - preserve ID_NET_LINK_FILE and
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
ID_NET_NAME after MOVE
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
---
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
rules/80-net-setup-link.rules | 3 ++-
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
diff --git a/rules/80-net-setup-link.rules b/rules/80-net-setup-link.rules
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
index f390fcb0dd..27c43b9437 100644
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
--- a/rules/80-net-setup-link.rules
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
+++ b/rules/80-net-setup-link.rules
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
@@ -4,7 +4,8 @@ SUBSYSTEM!="net", GOTO="net_setup_link_end"
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
IMPORT{builtin}="path_id"
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
-ACTION=="move", IMPORT{db}="ID_NET_DRIVER"
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
+ACTION=="move", IMPORT{db}="ID_NET_DRIVER", IMPORT{db}="ID_NET_LINK_FILE",
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
+IMPORT{db}="ID_NET_NAME"
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
ACTION!="add", GOTO="net_setup_link_end"
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|