Just a safety measure for me and Paul.

This commit is contained in:
Poul-Henning Kamp 1994-10-20 06:14:29 +00:00
parent 912da9c52c
commit 3a06e4e7bf
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=3737

View File

@ -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;
}