1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00

Add hooks for a short trouble shooting document.

This commit is contained in:
Jordan K. Hubbard 1994-11-12 20:34:18 +00:00
parent 5231231d03
commit c6c612c2c6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4403
2 changed files with 18 additions and 10 deletions

View File

@ -26,16 +26,18 @@
static unsigned char *welcome[] = {
"1. README",
"Read the `READ ME FIRST' File .",
"READ THIS FIRST.",
"2. Release Notes",
"Read the 2.0 Release Notes (recommended).",
"3. COPYRIGHT",
"3. Troubleshooting",
"Read this if you're having trouble getting installed."
"4. COPYRIGHT",
"Read FreeBSD Copyright Information.",
"4. Proceed",
"Proceed with installation.",
"5. Fixit",
"5. Install",
"Proceed with full installation.",
"6. Fixit",
"Repair existing installation (`fixit' mode).",
"6. Quit",
"7. Quit",
"Don't do anything, just reboot.",
};
@ -58,16 +60,21 @@ stage0()
goto evil_goto;
break;
case 3: /* View copyrights */
case 3: /* View the troubleshooting file */
ShowFile(TROUBLE_FILE, "Troubleshooting");
goto evil_goto;
break;
case 4: /* View copyrights */
ShowFile(COPYRIGHT_FILE, "COPYRIGHT");
goto evil_goto;
break;
case 4: /* Proceed (do nothing special, really) */
case 5: /* Proceed (do nothing special, really) */
break;
case 5:
dialog_msgbox("Sorry!", "This feature not currently implemented.",
case 6:
dialog_msgbox("Sorry!", "This feature is not currently implemented.",
6, 75, 1);
goto evil_goto;
break;

View File

@ -49,6 +49,7 @@
#define COPYRIGHT_FILE "/COPYRIGHT"
#define README_FILE "/README"
#define HELPME_FILE "/DISKSPACE.FAQ"
#define TROUBLE_FILE "/TROUBLESHOOTING"
#define RELNOTES_FILE "/RELNOTES.FreeBSD"
#ifndef EXTERN