summaryrefslogtreecommitdiff
path: root/etc/udev/debian/hotplugd.rules
blob: e311d226784b0313fd6f20933813144d16781334 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# do not call hotplug.d and dev.d for "drivers" and "module" events
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+="/sbin/udev_run_hotplugd"
RUN+="/sbin/udev_run_devd"

# run a command on remove events
ACTION=="remove", ENV{REMOVE_CMD}!="", RUN+="$env{REMOVE_CMD}"

# debugging monitor
RUN+="socket:/org/kernel/udev/monitor"