summaryrefslogtreecommitdiff
path: root/etc/udev/gentoo/95-udev-late.rules
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-03-28 20:31:19 +0200
committerKay Sievers <kay.sievers@vrfy.org>2007-03-28 20:31:19 +0200
commit1532b47bdf8cabc86d7e0f6d5e81342c42c48b2a (patch)
tree98e9db014874a876cf9de2e6375cd3ef6234e6da /etc/udev/gentoo/95-udev-late.rules
parent4e2b290821d083361260f8cdbe7c54886463673e (diff)
update Gentoo rules
Diffstat (limited to 'etc/udev/gentoo/95-udev-late.rules')
-rw-r--r--etc/udev/gentoo/95-udev-late.rules21
1 files changed, 21 insertions, 0 deletions
diff --git a/etc/udev/gentoo/95-udev-late.rules b/etc/udev/gentoo/95-udev-late.rules
new file mode 100644
index 0000000000..5d7a6a8a4e
--- /dev/null
+++ b/etc/udev/gentoo/95-udev-late.rules
@@ -0,0 +1,21 @@
+# /etc/udev/rules/95-udev-late.rules: device naming rules for udev
+#
+# Gentoo specific rules
+#
+# There are a number of modifiers that are allowed to be used in some of the
+# fields. See the udev man page for a full description of them.
+#
+# Try not to modify this file, if you wish to change things, create a new rule
+# file that can be run before this one.
+#
+
+# Activate our network if we can
+SUBSYSTEM=="net", ACTION=="add", RUN+="net.sh %k start"
+SUBSYSTEM=="net", ACTION=="remove", RUN+="net.sh %k stop"
+
+# debug events to /events, but not on default udev_log="err"
+ENV{UDEV_LOG}=="[4-9]", RUN+="eventrecorder.sh"
+
+# event to be catched by udevmonitor
+RUN+="socket:/org/kernel/udev/monitor"
+