[systemd-devel] [PATCH 03/10] rules: load sg module from 80-drivers.rules

Jon Severinsson jon at severinsson.net
Wed Jul 16 03:09:49 PDT 2014


From: Martin Pitt <martin.pitt at ubuntu.com>

Taken from the Debian specific rules, this is the remaining difference over the
upstream 80-drivers.rules.

Bug-Debian: http://bugs.debian.org/657948
---
 rules/80-drivers.rules | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rules/80-drivers.rules b/rules/80-drivers.rules
index 8551f47..f764075 100644
--- a/rules/80-drivers.rules
+++ b/rules/80-drivers.rules
@@ -9,5 +9,6 @@ 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"
+SUBSYSTEM=="scsi", ENV{DEVTYPE}=="scsi_device", TEST!="[module/sg]", RUN{builtin}+="kmod load sg"
 
 LABEL="drivers_end"
-- 
2.0.1



More information about the systemd-devel mailing list