summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/tools.c
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-07-24 14:05:11 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-07-24 14:05:11 +0000
commit59255c556db6a1fbb94458d87f798a58d39a056f (patch)
treef4615fc18a1373a7dbcee6d3c0055a3221c3025f /mdk-stage1/tools.c
parent84d0ecb2c7f8a0191118b8f14140a209b660ccbd (diff)
downloaddrakx-59255c556db6a1fbb94458d87f798a58d39a056f.tar
drakx-59255c556db6a1fbb94458d87f798a58d39a056f.tar.gz
drakx-59255c556db6a1fbb94458d87f798a58d39a056f.tar.bz2
drakx-59255c556db6a1fbb94458d87f798a58d39a056f.tar.xz
drakx-59255c556db6a1fbb94458d87f798a58d39a056f.zip
enhance (complicate? ;p) device detection so that scsi and usb
detection are done only when no ide cdrom with mandrake install is detected (speed up), have usb keyboard modules installed before any interactive question, honour "noauto" (skip usb detection and insmod'ing)
Diffstat (limited to 'mdk-stage1/tools.c')
-rw-r--r--mdk-stage1/tools.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdk-stage1/tools.c b/mdk-stage1/tools.c
index e5d37f28b..a921883a8 100644
--- a/mdk-stage1/tools.c
+++ b/mdk-stage1/tools.c
@@ -90,6 +90,7 @@ void process_cmdline(void)
if (!strcmp(name, "changedisk")) set_param(MODE_CHANGEDISK);
if (!strcmp(name, "updatemodules")) set_param(MODE_UPDATEMODULES);
if (!strcmp(name, "rescue")) set_param(MODE_RESCUE);
+ if (!strcmp(name, "noauto")) set_param(MODE_NOAUTO);
if (!strcmp(name, "special_stage2")) set_param(MODE_SPECIAL_STAGE2);
if (!strcmp(name, "automatic")) {
set_param(MODE_AUTOMATIC);