version 1.13.2.1, 1999/04/19 15:19:27 |
version 1.30, 2002/11/13 00:43:09 |
|
|
* documentation and/or other materials provided with the distribution. |
* documentation and/or other materials provided with the distribution. |
* 3. All advertising materials mentioning features or use of this software |
* 3. All advertising materials mentioning features or use of this software |
* must display the following acknowledgement: |
* must display the following acknowledgement: |
* This product includes software develooped for the NetBSD Project by |
* This product includes software developed for the NetBSD Project by |
* Piermont Information Systems Inc. |
* Piermont Information Systems Inc. |
* 4. The name of Piermont Information Systems Inc. may not be used to endorse |
* 4. The name of Piermont Information Systems Inc. may not be used to endorse |
* or promote products derived from this software without specific prior |
* or promote products derived from this software without specific prior |
|
|
if (find_disks() < 0) |
if (find_disks() < 0) |
return; |
return; |
|
|
|
if (!strcmp(diskdev, swapdev)) { |
|
msg_display(MSG_swapactive); |
|
process_menu(MENU_ok); |
|
if (set_swap(swapdev, NULL, 0) < 0) { |
|
msg_display(MSG_swapdelfailed); |
|
process_menu(MENU_ok); |
|
return; |
|
} |
|
} |
|
|
/* if we need the user to mount root, ask them to. */ |
/* if we need the user to mount root, ask them to. */ |
if (must_mount_root()) { |
if (must_mount_root()) { |
msg_display(MSG_pleasemountroot, diskdev, diskdev, diskdev); |
msg_display(MSG_pleasemountroot, diskdev, diskdev, diskdev, diskdev); |
process_menu(MENU_ok); |
process_menu(MENU_ok); |
return; |
return; |
} |
} |
|
|
/* Last chance ... do you really want to do this? */ |
/* Last chance ... do you really want to do this? */ |
clear(); |
clear(); |
refresh(); |
refresh(); |
msg_display(MSG_lastchance); |
msg_display(MSG_lastchance, diskdev); |
process_menu(MENU_noyes); |
process_menu(MENU_noyes); |
if (!yesno) |
if (!yesno) |
return; |
return; |
|
|
msg_display(MSG_disksetupdone); |
msg_display(MSG_disksetupdone); |
|
|
getchar(); |
getchar(); |
puts(CL); /* just to make sure */ |
wrefresh(curscr); |
|
wmove(stdscr,0, 0); |
wclear(stdscr); |
wclear(stdscr); |
wrefresh(stdscr); |
wrefresh(stdscr); |
|
|
/* Unpack the distribution. */ |
/* Unpack the distribution. */ |
get_and_unpack_sets(MSG_instcomplete, MSG_abortinst); |
if (get_and_unpack_sets(MSG_extractcomplete, MSG_abortinst) != 0) |
|
return; |
|
|
|
set_timezone(); |
|
|
|
set_crypt_type(); |
|
|
|
set_root_password(); |
|
set_root_shell(); |
|
|
sanity_check(); |
sanity_check(); |
|
|
md_cleanup_install(); |
md_cleanup_install(); |
|
|
|
msg_display(MSG_instcomplete); |
|
process_menu(MENU_ok); |
} |
} |