summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/stage1.c
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2004-10-13 06:39:38 +0000
committerAntoine Ginies <aginies@mandriva.com>2004-10-13 06:39:38 +0000
commit536f4e80aa75e99ba38e9f3037f169336ad10f61 (patch)
tree763ce5183ecbe1f05b1feb5a6680b480973aab11 /mdk-stage1/stage1.c
parent6cc57924776dd164351f363ba48f4c453792ba62 (diff)
downloaddrakx-536f4e80aa75e99ba38e9f3037f169336ad10f61.tar
drakx-536f4e80aa75e99ba38e9f3037f169336ad10f61.tar.gz
drakx-536f4e80aa75e99ba38e9f3037f169336ad10f61.tar.bz2
drakx-536f4e80aa75e99ba38e9f3037f169336ad10f61.tar.xz
drakx-536f4e80aa75e99ba38e9f3037f169336ad10f61.zip
add new installation method (ka)
Diffstat (limited to 'mdk-stage1/stage1.c')
-rw-r--r--mdk-stage1/stage1.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/mdk-stage1/stage1.c b/mdk-stage1/stage1.c
index 03f809cd8..7977a95d2 100644
--- a/mdk-stage1/stage1.c
+++ b/mdk-stage1/stage1.c
@@ -315,6 +315,8 @@ 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";
+ char * network_ka_install = "KA server"; char * network_ka_install_auto = "ka";
+
#endif
i = 0;
@@ -322,6 +324,7 @@ 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;
+ means[i] = network_ka_install; means_auto[i++] = network_ka_install_auto;
#endif
#ifndef DISABLE_CDROM
means[i] = cdrom_install; means_auto[i++] = cdrom_install_auto;
@@ -352,6 +355,9 @@ static void method_select_and_prepare(void)
if (!strcmp(choice, network_nfs_install))
results = nfs_prepare();
+ if (!strcmp(choice, network_ka_install))
+ results = ka_prepare();
+
if (!strcmp(choice, network_ftp_install))
results = ftp_prepare();
@@ -361,6 +367,7 @@ static void method_select_and_prepare(void)
if (results != RETURN_OK)
return method_select_and_prepare();
+
}
#ifdef MANDRAKE_MOVE