mirror of
https://github.com/systemd/systemd.git
synced 2024-12-13 20:23:48 +08:00
2ce39d78b8
If no module name is provided, then try to load modules based on the device modealias. Previously, MODALIAS property is passed as an argument, but it may contain quotation. Hence, unfortunately the modalias may be modified and cannot load expected modules. Fixes #24715.
14 lines
600 B
Plaintext
14 lines
600 B
Plaintext
# do not edit this file, it will be overwritten on update
|
|
|
|
ACTION!="add", GOTO="drivers_end"
|
|
|
|
ENV{MODALIAS}=="?*", RUN{builtin}+="kmod load"
|
|
SUBSYSTEM=="tifm", ENV{TIFM_CARD_TYPE}=="SD", RUN{builtin}+="kmod load tifm_sd"
|
|
SUBSYSTEM=="tifm", ENV{TIFM_CARD_TYPE}=="MS", RUN{builtin}+="kmod load tifm_ms"
|
|
SUBSYSTEM=="memstick", RUN{builtin}+="kmod load ms_block mspro_block"
|
|
SUBSYSTEM=="i2o", RUN{builtin}+="kmod load i2o_block"
|
|
SUBSYSTEM=="module", KERNEL=="parport_pc", RUN{builtin}+="kmod load ppdev"
|
|
KERNEL=="mtd*ro", ENV{MTD_FTL}=="smartmedia", RUN{builtin}+="kmod load sm_ftl"
|
|
|
|
LABEL="drivers_end"
|