diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-09-10 21:01:47 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-09-10 21:01:47 +0000 |
commit | 60e9475da34d156525ca41695a9f89e00641f38a (patch) | |
tree | 4f1ed12b7495e34a840279c1a0a85791ddad36cc /mdk-stage1/stage1.c | |
parent | e8ba5b4ebc85c9b75c57cf48db2c805aabb2a2ce (diff) | |
download | drakx-60e9475da34d156525ca41695a9f89e00641f38a.tar drakx-60e9475da34d156525ca41695a9f89e00641f38a.tar.gz drakx-60e9475da34d156525ca41695a9f89e00641f38a.tar.bz2 drakx-60e9475da34d156525ca41695a9f89e00641f38a.tar.xz drakx-60e9475da34d156525ca41695a9f89e00641f38a.zip |
recovery
Diffstat (limited to 'mdk-stage1/stage1.c')
-rw-r--r-- | mdk-stage1/stage1.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mdk-stage1/stage1.c b/mdk-stage1/stage1.c index 553e6a23b..bc3b457e3 100644 --- a/mdk-stage1/stage1.c +++ b/mdk-stage1/stage1.c @@ -418,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(); |