summaryrefslogtreecommitdiffstats
path: root/rules/80-net-setup-link.rules
diff options
context:
space:
mode:
Diffstat (limited to 'rules/80-net-setup-link.rules')
-rw-r--r--rules/80-net-setup-link.rules13
1 files changed, 13 insertions, 0 deletions
diff --git a/rules/80-net-setup-link.rules b/rules/80-net-setup-link.rules
new file mode 100644
index 0000000..6e411a9
--- /dev/null
+++ b/rules/80-net-setup-link.rules
@@ -0,0 +1,13 @@
+# do not edit this file, it will be overwritten on update
+
+SUBSYSTEM!="net", GOTO="net_setup_link_end"
+
+IMPORT{builtin}="path_id"
+
+ACTION!="add", GOTO="net_setup_link_end"
+
+IMPORT{builtin}="net_setup_link"
+
+NAME=="", ENV{ID_NET_NAME}!="", NAME="$env{ID_NET_NAME}"
+
+LABEL="net_setup_link_end"