summaryrefslogtreecommitdiffstats
path: root/loader/init.c
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-06-23 00:55:20 +0000
committerMatt Wilson <msw@redhat.com>1999-06-23 00:55:20 +0000
commitbb5009889cc1937fb73dd87442b54865ba2a64dd (patch)
tree7335e7670756b9027521e03805b0fe4f9637e47e /loader/init.c
parent156a22ee3d2accebb76140ea984520f184ecc8ff (diff)
downloadanaconda-bb5009889cc1937fb73dd87442b54865ba2a64dd.tar.gz
anaconda-bb5009889cc1937fb73dd87442b54865ba2a64dd.tar.xz
anaconda-bb5009889cc1937fb73dd87442b54865ba2a64dd.zip
debug
Diffstat (limited to 'loader/init.c')
-rw-r--r--loader/init.c27
1 files changed, 3 insertions, 24 deletions
diff --git a/loader/init.c b/loader/init.c
index 1b653f319..4956fced0 100644
--- a/loader/init.c
+++ b/loader/init.c
@@ -657,29 +657,7 @@ int main(void) {
close(fd);
}
- if (0 && (nfsRoot || cdRoot)) {
- symlink("/", "/tmp/rhimage");
- symlink("/", "/tmp/image");
-
- *argvp++ = "/usr/bin/runinstall2";
- *argvp++ = argv[0];
- *argvp++ = "--method";
- *argvp++ = nfsRoot ? "nfs" : "cdrom";
-
-#if 0 /* we don't need this anymore */
-# if defined(__alpha__)
- if (cdRoot && (kernel = findKernel())) {
- *argvp++ = "--kernel";
- *argvp++ = kernel;
- }
-# endif
-#endif /* not needed */
- } else {
- *argvp++ = "/bin/loader";
- }
-
- if (isRescue)
- *argvp++ = "--rescue";
+ *argvp++ = "/bin/loader";
if (isExpert) *argvp++ = "--expert";
if (forceSupp) *argvp++ = "--forcesupp";
@@ -697,8 +675,9 @@ int main(void) {
*argvp++ = NULL;
+ printf("running %s\n", argv[0]);
execve(argv[0], argv, environ);
-
+
exit(0);
}