[BACK]Return to install.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / distrib / utils / sysinst

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/distrib/utils/sysinst/Attic/install.c between version 1.13.2.1 and 1.29

version 1.13.2.1, 1999/04/19 15:19:27 version 1.29, 2002/07/29 03:05:16
Line 16 
Line 16 
  *    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
Line 65  do_install()
Line 65  do_install()
         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);
Line 87  do_install()
Line 97  do_install()
         /* 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;
Line 117  do_install()
Line 127  do_install()
         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);
 }  }

Legend:
Removed from v.1.13.2.1  
changed lines
  Added in v.1.29

CVSweb <webmaster@jp.NetBSD.org>