1994-10-26 02:53:15 +00:00
|
|
|
/*
|
|
|
|
* ----------------------------------------------------------------------------
|
|
|
|
* "THE BEER-WARE LICENSE" (Revision 42):
|
|
|
|
* <phk@login.dknet.dk> wrote this file. As long as you retain this notice you
|
|
|
|
* can do whatever you want with this stuff. If we meet some day, and you think
|
|
|
|
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
|
|
|
|
* ----------------------------------------------------------------------------
|
|
|
|
*
|
1994-11-02 22:39:57 +00:00
|
|
|
* $Id: stage5.c,v 1.5 1994/11/02 09:05:49 jkh Exp $
|
1994-10-26 02:53:15 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <dialog.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <fcntl.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <errno.h>
|
|
|
|
|
|
|
|
#include <sys/param.h>
|
|
|
|
#include <sys/mount.h>
|
|
|
|
#include <sys/stat.h>
|
|
|
|
|
|
|
|
#include "sysinstall.h"
|
|
|
|
|
1994-11-02 06:19:53 +00:00
|
|
|
static unsigned char msg[] = "
|
|
|
|
You are now done with the first phase of the installation. We will,
|
|
|
|
for now, dump you rather unceremoniously into a shell where you can
|
|
|
|
then ftp, SLIP, DOS floppy or carrier pigeon the bindist over. This
|
|
|
|
will NOT be so unfriendly in the BETA installation, and will lead
|
|
|
|
instead to a menu offering you various helpful ways of getting the
|
|
|
|
bindist. This is all we had time for in the ALPHA, however. Sorry!
|
|
|
|
Thank you for your patience!";
|
|
|
|
|
1994-10-26 02:53:15 +00:00
|
|
|
void
|
|
|
|
stage5()
|
|
|
|
{
|
1994-11-03 00:30:27 +00:00
|
|
|
dialog_msgbox(TITLE, msg, strheight(msg) + 4, strwidth(msg) + 4, 1);
|
1994-10-26 05:41:02 +00:00
|
|
|
end_dialog();
|
|
|
|
dialog_active=0;
|
1994-10-29 10:01:40 +00:00
|
|
|
setenv("PATH","/stand",1);
|
1994-10-26 02:53:15 +00:00
|
|
|
for(;;)
|
1994-10-26 05:41:02 +00:00
|
|
|
exec (2,"/stand/sh","/stand/-sh", 0);
|
1994-10-26 02:53:15 +00:00
|
|
|
}
|