summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/udev/files/156/90-network.rules')
-rw-r--r--sys-fs/udev/files/156/90-network.rules8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys-fs/udev/files/156/90-network.rules b/sys-fs/udev/files/156/90-network.rules
new file mode 100644
index 000000000000..50903af157dc
--- /dev/null
+++ b/sys-fs/udev/files/156/90-network.rules
@@ -0,0 +1,8 @@
+# do not edit this file, it will be overwritten on update
+
+# /etc/udev/rules/90-network.rules: triggering network init-scripts
+
+# Activate our network if we can
+SUBSYSTEM=="net", ACTION=="add", RUN+="net.sh %k start"
+SUBSYSTEM=="net", ACTION=="remove", RUN+="net.sh %k stop"
+