Browse Source

Changed udev's 80-drivers.rules to only apply when ACTION=="add"

early
Alejandro Mery 17 years ago
parent
commit
7f461a07a1
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      filesystem/udev/rules/80-drivers.rules

+ 4
- 0
filesystem/udev/rules/80-drivers.rules

@ -1,5 +1,7 @@
# vi: set ft=conf :
ACTION!="add", GOTO="drivers_end"
# hotplug
ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe $env{MODALIAS}"
@ -23,3 +25,5 @@ SUBSYSTEM=="ide", ACTION=="add", ATTR{media}=="tape", RUN+="/sbin/modprobe ide-s
# mmc
SUBSYSTEM=="mmc", ACTION=="add", RUN+="/sbin/modprobe mmc_block"
LABEL="drivers_end"

Loading…
Cancel
Save