1994-10-20 02:51:55 +00:00
|
|
|
/*
|
|
|
|
* ----------------------------------------------------------------------------
|
|
|
|
* "THE BEER-WARE LICENSE" (Revision 42):
|
|
|
|
* <phk@login.dkuug.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-10-20 19:30:56 +00:00
|
|
|
* $Id: stage0.c,v 1.2 1994/10/20 04:59:56 phk Exp $
|
1994-10-20 02:51:55 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
|
|
|
|
#include <dialog.h>
|
|
|
|
|
|
|
|
#include "sysinstall.h"
|
|
|
|
|
|
|
|
void
|
|
|
|
stage0()
|
|
|
|
{
|
|
|
|
if (!access(README_FILE, R_OK)) {
|
1994-10-20 19:30:56 +00:00
|
|
|
dialog_clear();
|
|
|
|
dialog_textbox("READ ME FIRST", README_FILE, 24, 80);
|
1994-10-20 02:51:55 +00:00
|
|
|
}
|
1994-10-20 05:00:00 +00:00
|
|
|
if (!access(COPYRIGHT_FILE, R_OK)) {
|
1994-10-20 19:30:56 +00:00
|
|
|
dialog_clear();
|
|
|
|
dialog_textbox("COPYRIGHT", COPYRIGHT_FILE, 24, 80);
|
1994-10-20 05:00:00 +00:00
|
|
|
}
|
1994-10-20 02:51:55 +00:00
|
|
|
}
|