diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-08-28 21:38:32 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-08-28 21:38:32 +0000 |
commit | c33096066f32297bbc275ea820531fe55e45b705 (patch) | |
tree | 85b5c4fcb02b38d30805a4b22320924f7be41391 /mdk-stage1/stage1.c | |
parent | fcd42ef1d7175f46663fde210e4e6cd9f059cfef (diff) | |
download | drakx-backup-do-not-use-c33096066f32297bbc275ea820531fe55e45b705.tar drakx-backup-do-not-use-c33096066f32297bbc275ea820531fe55e45b705.tar.gz drakx-backup-do-not-use-c33096066f32297bbc275ea820531fe55e45b705.tar.bz2 drakx-backup-do-not-use-c33096066f32297bbc275ea820531fe55e45b705.tar.xz drakx-backup-do-not-use-c33096066f32297bbc275ea820531fe55e45b705.zip |
ka support (initially from Antoine Ginies and Erwan Velu)
Diffstat (limited to 'mdk-stage1/stage1.c')
-rw-r--r-- | mdk-stage1/stage1.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mdk-stage1/stage1.c b/mdk-stage1/stage1.c index e3a5b364c..6024f20ca 100644 --- a/mdk-stage1/stage1.c +++ b/mdk-stage1/stage1.c @@ -266,6 +266,9 @@ static void method_select_and_prepare(void) char * network_nfs_install = "NFS server"; char * network_nfs_install_auto = "nfs"; char * network_ftp_install = "FTP server"; char * network_ftp_install_auto = "ftp"; char * network_http_install = "HTTP server"; char * network_http_install_auto = "http"; +#ifndef DISABLE_KA + char * network_ka_install = "KA server"; char * network_ka_install_auto = "ka"; +#endif #endif char * thirdparty_install = "Load third party modules"; char * thirdparty_install_auto = "thirdparty"; @@ -274,6 +277,9 @@ static void method_select_and_prepare(void) means[i] = network_nfs_install; means_auto[i++] = network_nfs_install_auto; means[i] = network_ftp_install; means_auto[i++] = network_ftp_install_auto; means[i] = network_http_install; means_auto[i++] = network_http_install_auto; +#ifndef DISABLE_KA + means[i] = network_ka_install; means_auto[i++] = network_ka_install_auto; +#endif #endif #ifndef DISABLE_CDROM means[i] = cdrom_install; means_auto[i++] = cdrom_install_auto; @@ -314,6 +320,11 @@ static void method_select_and_prepare(void) if (!strcmp(choice, network_http_install)) results = http_prepare(); + +#ifndef DISABLE_KA + if (!strcmp(choice, network_ka_install)) + results = ka_prepare(); +#endif #endif #endif |