summaryrefslogtreecommitdiff
path: root/rules/gentoo/90-network.rules
diff options
context:
space:
mode:
Diffstat (limited to 'rules/gentoo/90-network.rules')
-rw-r--r--rules/gentoo/90-network.rules8
1 files changed, 8 insertions, 0 deletions
diff --git a/rules/gentoo/90-network.rules b/rules/gentoo/90-network.rules
new file mode 100644
index 0000000000..50903af157
--- /dev/null
+++ b/rules/gentoo/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"
+