summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/stage1.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/stage1.c')
-rw-r--r--mdk-stage1/stage1.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/mdk-stage1/stage1.c b/mdk-stage1/stage1.c
index 44ed25155..bc3b457e3 100644
--- a/mdk-stage1/stage1.c
+++ b/mdk-stage1/stage1.c
@@ -403,7 +403,8 @@ int main(int argc __attribute__ ((unused)), char **argv __attribute__ ((unused))
update_modules();
#ifdef ENABLE_PCMCIA
- handle_pcmcia(&pcmcia_adapter);
+ if (!IS_NOAUTO)
+ handle_pcmcia(&pcmcia_adapter);
#endif
if (IS_CHANGEDISK)
@@ -417,7 +418,12 @@ int main(int argc __attribute__ ((unused)), char **argv __attribute__ ((unused))
"your own risk. Alternatively, you may reboot your system now.");
}
- ret = method_select_and_prepare();
+#ifndef DISABLE_DISK
+ if (IS_RECOVERY && streq(get_auto_value("method"), "cdrom") && process_recovery())
+ ret = RETURN_OK;
+ else
+#endif
+ ret = method_select_and_prepare();
finish_frontend();
close_log();