Ignore:
Timestamp:
Dec 22, 2005, 11:59:02 AM (18 years ago)
Author:
bcornec
Message:
  • PXE doc improved
  • interactive mode now asks for image size in NFS mode
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.05/mondo/mondo/common/libmondo-devices.c

    r251 r256  
    21122112            strcpy(bkpinfo->isodir,
    21132113                   call_program_and_get_last_line_of_output(command));
     2114
     2115            sprintf(comment,
     2116                    "How much data (in Megabytes) will each media store?");
     2117            if (!popup_and_get_string("Size", comment, sz_size, 5)) {
     2118                log_to_screen("User has chosen not to backup the PC");
     2119                finish(1);
     2120            }
     2121            for (i = 0; i <= MAX_NOOF_MEDIA; i++) {
     2122                bkpinfo->media_size[i] = atoi(sz_size);
     2123            }
     2124            if (bkpinfo->media_size[0] <= 0) {
     2125                log_to_screen("User has chosen not to backup the PC");
     2126                finish(1);
     2127            }
    21142128        }
    21152129        if (bkpinfo->disaster_recovery) {
Note: See TracChangeset for help on using the changeset viewer.