diff options
Diffstat (limited to 'mdk-stage1/stage1.c')
-rw-r--r-- | mdk-stage1/stage1.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/mdk-stage1/stage1.c b/mdk-stage1/stage1.c index 57477d198..03cd10515 100644 --- a/mdk-stage1/stage1.c +++ b/mdk-stage1/stage1.c @@ -363,13 +363,15 @@ static void method_select_and_prepare(void) #ifndef DISABLE_NETWORK if (!strcmp(choice, network_nfs_install)) results = nfs_prepare(); - + +#ifndef MANDRAKE_MOVE if (!strcmp(choice, network_ftp_install)) results = ftp_prepare(); if (!strcmp(choice, network_http_install)) results = http_prepare(); #endif +#endif if (results != RETURN_OK) return method_select_and_prepare(); @@ -648,19 +650,21 @@ int main(int argc __attribute__ ((unused)), char **argv __attribute__ ((unused)) if (total_memory() < MEM_LIMIT_MOVE) stg1_info_message(DISTRIB_NAME " typically needs more than %d Mbytes of memory (detected %d Mbytes). You may proceed, but the machine may crash or lock up for no apparent reason. Continue at your own risk. Alternatively, you may reboot your system now.", MEM_LIMIT_MOVE, total_memory()); -#endif - +#else #ifndef DISABLE_DISK if (IS_RECOVERY && streq(get_auto_value("method"), "cdrom")) { if (!process_recovery()) method_select_and_prepare(); } else #endif +#endif method_select_and_prepare(); +#ifndef MANDRAKE_MOVE if (!IS_RAMDISK) if (symlink(IMAGE_LOCATION_REAL LIVE_LOCATION, STAGE2_LOCATION) != 0) log_perror("symlink from " IMAGE_LOCATION_REAL LIVE_LOCATION " to " STAGE2_LOCATION " failed"); +#endif if (interactive_pid != 0) kill(interactive_pid, 9); |