summaryrefslogtreecommitdiff
path: root/etc/udev/gentoo/90-network.rules
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-08-26 13:54:32 +0200
committerKay Sievers <kay.sievers@vrfy.org>2007-08-26 13:54:32 +0200
commit2bf0a506bc13abc5632079232bee6f8784934633 (patch)
treea8048c0c570f5e942620c227641dcfcde840bd74 /etc/udev/gentoo/90-network.rules
parenta2f2270eef499f6f60075a149011e3e3851ab5ef (diff)
rules: Gentoo update
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"
+