summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
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"