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