main.c (8302) | main.c (8314) |
---|---|
1/* 2 * The new sysinstall program. 3 * 4 * This is probably the last attempt in the `sysinstall' line, the next 5 * generation being slated for what's essentially a complete rewrite. 6 * | 1/* 2 * The new sysinstall program. 3 * 4 * This is probably the last attempt in the `sysinstall' line, the next 5 * generation being slated for what's essentially a complete rewrite. 6 * |
7 * $Id: main.c,v 1.2 1995/05/04 03:51:17 jkh Exp $ | 7 * $Id: main.c,v 1.4 1995/05/05 23:47:42 jkh Exp $ |
8 * 9 * Copyright (c) 1995 10 * Jordan Hubbard. All rights reserved. 11 * 12 * Redistribution and use in source and binary forms, with or without 13 * modification, are permitted provided that the following conditions 14 * are met: 15 * 1. Redistributions of source code must retain the above copyright --- 39 unchanged lines hidden (view full) --- 55 return 1; 56 } 57 /* Set up whatever things need setting up */ 58 systemInitialize(argc, argv); 59 60 /* Welcome user to FreeBSD */ 61 systemWelcome(); 62 | 8 * 9 * Copyright (c) 1995 10 * Jordan Hubbard. All rights reserved. 11 * 12 * Redistribution and use in source and binary forms, with or without 13 * modification, are permitted provided that the following conditions 14 * are met: 15 * 1. Redistributions of source code must retain the above copyright --- 39 unchanged lines hidden (view full) --- 55 return 1; 56 } 57 /* Set up whatever things need setting up */ 58 systemInitialize(argc, argv); 59 60 /* Welcome user to FreeBSD */ 61 systemWelcome(); 62 |
63 /* Default to English */ 64 /* lang_set_English(NULL); */ 65 |
|
63 /* Begin user dialog at outer menu */ 64 while (1) { 65 choice = scroll = curr = max = 0; 66 dmenuOpen(&MenuInitial, &choice, &scroll, &curr, &max); 67 if (getpid() != 1 || !msgYesNo("Are you sure you wish to exit? System will reboot.")) 68 break; 69 } 70 /* Say goodnight, Gracie */ 71 systemShutdown(); 72 73 /* If we're running as init, we should never get here */ 74 return 0; 75} | 66 /* Begin user dialog at outer menu */ 67 while (1) { 68 choice = scroll = curr = max = 0; 69 dmenuOpen(&MenuInitial, &choice, &scroll, &curr, &max); 70 if (getpid() != 1 || !msgYesNo("Are you sure you wish to exit? System will reboot.")) 71 break; 72 } 73 /* Say goodnight, Gracie */ 74 systemShutdown(); 75 76 /* If we're running as init, we should never get here */ 77 return 0; 78} |