diff options
Diffstat (limited to 'etc/udev/redhat/51-hotplug.rules')
-rw-r--r-- | etc/udev/redhat/51-hotplug.rules | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/etc/udev/redhat/51-hotplug.rules b/etc/udev/redhat/51-hotplug.rules new file mode 100644 index 0000000000..4c47976ee5 --- /dev/null +++ b/etc/udev/redhat/51-hotplug.rules @@ -0,0 +1,15 @@ +# do not call hotplug.d and dev.d for "drivers" and "module" events +SUBSYSTEM=="drivers", GOTO="hotplug_end" +SUBSYSTEM=="module", GOTO="hotplug_end" +ACTION="add", GOTO="hotplug_comp" +ACTION="remove", GOTO="hotplug_comp" + +GOTO="hotplug_end" + +LABEL="hotplug_comp" +# compatibility support for the obsolete hotplug.d and dev.d directories +ENV{UDEVD_EVENT}=="1", RUN+="/lib/udev/udev_run_hotplugd" +RUN+="/lib/udev/udev_run_devd" + + +LABEL="hotplug_end" |