summaryrefslogtreecommitdiff
path: root/etc/udev/debian/hotplugd.rules
diff options
context:
space:
mode:
Diffstat (limited to 'etc/udev/debian/hotplugd.rules')
-rw-r--r--etc/udev/debian/hotplugd.rules5
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/udev/debian/hotplugd.rules b/etc/udev/debian/hotplugd.rules
index d79ce85e52..cd30fa49ba 100644
--- a/etc/udev/debian/hotplugd.rules
+++ b/etc/udev/debian/hotplugd.rules
@@ -3,7 +3,6 @@ SUBSYSTEM=="drivers", OPTIONS="last_rule"
SUBSYSTEM=="module", OPTIONS="last_rule"
# compatibility support for the obsolete hotplug.d and dev.d directories
-# do not run the hotplug.d scripts when started from udevstart
-ENV{UDEVD_EVENT}=="1", RUN+="/lib/udev/udev_run_hotplugd"
-RUN+="/lib/udev/udev_run_devd"
+RUN+="udev_run_hotplugd $env{SUBSYSTEM}"
+RUN+="udev_run_devd $env{SUBSYSTEM}"