summaryrefslogtreecommitdiff
path: root/rules/rules.d/80-drivers.rules
diff options
context:
space:
mode:
Diffstat (limited to 'rules/rules.d/80-drivers.rules')
-rw-r--r--rules/rules.d/80-drivers.rules2
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"