diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2010-04-13 12:12:08 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2010-04-13 12:20:55 +0200 |
commit | 06ba47d8336c6d017a67d11f480341db07b9bc4b (patch) | |
tree | be040a96257e706e4f5eb3160a30953940d4911b /rules/rules.d/80-drivers.rules | |
parent | 816e6bf0fb0849d03696a4b4ec2334e35e819425 (diff) |
rules: call modprobe on all events but "remove"
Diffstat (limited to 'rules/rules.d/80-drivers.rules')
-rw-r--r-- | rules/rules.d/80-drivers.rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/rules.d/80-drivers.rules b/rules/rules.d/80-drivers.rules index d0485e13c4..86eb9187a9 100644 --- a/rules/rules.d/80-drivers.rules +++ b/rules/rules.d/80-drivers.rules @@ -1,6 +1,6 @@ # do not edit this file, it will be overwritten on update -ACTION!="add", GOTO="drivers_end" +ACTION=="remove", GOTO="drivers_end" DRIVER!="?*", ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe -b $env{MODALIAS}" SUBSYSTEM=="tifm", ENV{TIFM_CARD_TYPE}=="SD", RUN+="/sbin/modprobe -b tifm_sd" |