From 03d50c93d4062ec4de4379a6461e7bfb4d4d6da3 Mon Sep 17 00:00:00 2001 From: Matt Wilson Date: Thu, 23 Sep 1999 20:35:40 +0000 Subject: 1) handle ks option 2) build ks=nfs remote file name properly for copy --- loader/loader.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/loader/loader.c b/loader/loader.c index b08df7afd..f7636f0c3 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -1423,6 +1423,8 @@ static int parseCmdLineFlags(int flags, char * cmdLine, char ** ksSource) { flags |= LOADER_FLAGS_MODDISK; else if (!strcasecmp(argv[i], "rescue")) flags |= LOADER_FLAGS_RESCUE; + else if (!strcasecmp(argv[i], "ks")) + flags |= LOADER_FLAGS_KICKSTART; else if (!strcasecmp(argv[i], "ks=floppy")) flags |= LOADER_FLAGS_KSFLOPPY; else if (!strncasecmp(argv[i], "ks=hd:", 6)) { @@ -1491,7 +1493,7 @@ int kickstartFromNfs(char * location, moduleList modLoaded, moduleDeps modDeps, } fullFn = malloc(strlen(file) + 20); - sprintf(fullFn, "/tmp/ks/%s", file); + sprintf(fullFn, "/tmp/nfskd/%s", file); copyFile(fullFn, location); umount("/tmp/nfs"); -- cgit