diff options
Diffstat (limited to 'rules')
-rw-r--r-- | rules/80-drivers-modprobe.rules | 13 | ||||
-rw-r--r-- | rules/Makefile.am | 7 |
2 files changed, 1 insertions, 19 deletions
diff --git a/rules/80-drivers-modprobe.rules b/rules/80-drivers-modprobe.rules deleted file mode 100644 index 14c5b873bb..0000000000 --- a/rules/80-drivers-modprobe.rules +++ /dev/null @@ -1,13 +0,0 @@ -# do not edit this file, it will be overwritten on update - -ACTION=="remove", GOTO="drivers_end" - -ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe $env{MODALIAS}" -SUBSYSTEM=="tifm", ENV{TIFM_CARD_TYPE}=="SD", RUN+="/sbin/modprobe tifm_sd" -SUBSYSTEM=="tifm", ENV{TIFM_CARD_TYPE}=="MS", RUN+="/sbin/modprobe tifm_ms" -SUBSYSTEM=="memstick", RUN+="/sbin/modprobe ms_block mspro_block" -SUBSYSTEM=="i2o", RUN+="/sbin/modprobe i2o_block" -SUBSYSTEM=="module", KERNEL=="parport_pc", RUN+="/sbin/modprobe ppdev" -KERNEL=="mtd*ro", ENV{MTD_FTL}=="smartmedia", RUN+="/sbin/modprobe sm_ftl" - -LABEL="drivers_end" diff --git a/rules/Makefile.am b/rules/Makefile.am index 408a23c976..15a3a903f4 100644 --- a/rules/Makefile.am +++ b/rules/Makefile.am @@ -26,14 +26,9 @@ dist_udevrules_DATA += \ 60-persistent-storage.rules endif -if HAVE_MODULES -if HAVE_LIBKMOD +if HAVE_KMOD dist_udevrules_DATA += \ 80-drivers.rules -else -dist_udevrules_DATA += \ - 80-drivers-modprobe.rules -endif endif if ENABLE_KEYMAP |