diff options
author | Bill Nottingham <notting@redhat.com> | 2005-09-22 19:59:02 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2005-09-22 19:59:02 +0000 |
commit | fb072b8c1cacba318db7fe70f99463e55c617cce (patch) | |
tree | 18815ea25f01910c3aa7a9d1d37db6d85decdf10 /src/kmodule.c | |
parent | 9367a8f899e76f483fbd390b901e6bb84224952c (diff) | |
download | initscripts-fb072b8c1cacba318db7fe70f99463e55c617cce.tar initscripts-fb072b8c1cacba318db7fe70f99463e55c617cce.tar.gz initscripts-fb072b8c1cacba318db7fe70f99463e55c617cce.tar.bz2 initscripts-fb072b8c1cacba318db7fe70f99463e55c617cce.tar.xz initscripts-fb072b8c1cacba318db7fe70f99463e55c617cce.zip |
don't probe for uninteresting devices. speeds things up (floppy probe is slow)
Diffstat (limited to 'src/kmodule.c')
-rw-r--r-- | src/kmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kmodule.c b/src/kmodule.c index 138c481f..01db7666 100644 --- a/src/kmodule.c +++ b/src/kmodule.c @@ -97,7 +97,7 @@ int main(int argc, char **argv) char *bus = NULL, *class = NULL; int x, rc, isdaemon = 0; enum deviceBus probeBus = BUS_UNSPEC & ~BUS_SERIAL; - enum deviceClass probeClass = CLASS_UNSPEC; + enum deviceClass probeClass = CLASS_UNSPEC & ~CLASS_FLOPPY & ~CLASS_HD & ~CLASS_CDROM; poptContext context; struct device **devs; struct poptOption options[] = { |