From 3a06e4e7bf5e92d07abb5fffffacde17d1f88c9f Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Thu, 20 Oct 1994 06:14:29 +0000 Subject: [PATCH] Just a safety measure for me and Paul. --- sbin/sysinstall/main.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/sbin/sysinstall/main.c b/sbin/sysinstall/main.c index 2548db825e41..fca953fe9385 100644 --- a/sbin/sysinstall/main.c +++ b/sbin/sysinstall/main.c @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id$ + * $Id: main.c,v 1.2 1994/10/20 04:59:56 phk Exp $ * */ @@ -88,7 +88,7 @@ main(int argc, char **argv) setjmp(jmp_restart); - if (getenv("PAUL") || !access("/this_is_boot_flp",R_OK)) { + if (getenv("STAGE0") || !access("/this_is_boot_flp",R_OK)) { stage0(); stage1(); /* XXX This is how stage one should output: */ @@ -98,9 +98,10 @@ main(int argc, char **argv) mountpoint[1] = StrAlloc("/usr"); stage2(); - } else { + } else if (getenv("STAGE3)) { stage3(); - } + } else { + fprintf(stderr,"Must setenv STAGE0 or STAGE3"); return 0; }