Ignore:
Timestamp:
Sep 1, 2007, 12:07:44 AM (12 years ago)
Author:
Bruno Cornec
Message:

manual_cd_tray => manual_tray and usage of conf file for that field

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/common/libmondo-tools.c

    r1594 r1609  
    334334 * - Used: @c bkpinfo->prefix
    335335 * - Used: @c bkpinfo->isodir
    336  * - Used: @c bkpinfo->manual_cd_tray
     336 * - Used: @c bkpinfo->manual_tray
    337337 * - Used: @c bkpinfo->make_cd_use_lilo
    338338 * - Used: @c bkpinfo->media_device
     
    458458        || bkpinfo->backup_media_type == nfs
    459459        || bkpinfo->backup_media_type == cdr) {
    460         if (!bkpinfo->manual_cd_tray) {
     460        if (!bkpinfo->manual_tray) {
    461461            mr_strcat(extra_cdrom_params, "-waiti ");
    462462        }
     
    484484            mr_asprintf(&mondo_mkisofs_sz, "%s -b isolinux.bin -c boot.cat", mr_conf->iso_creation_opt);
    485485        }
    486         if (bkpinfo->manual_cd_tray) {
     486        if (bkpinfo->manual_tray) {
    487487            if (strstr(mr_conf->iso_burning_cmd,"growisofs") != NULL) {
    488488                fatal_error("Unable to use manual CD tray with growisofs");
     
    700700    memset((void *) bkpinfo, 0, sizeof(struct s_bkpinfo));
    701701
    702     bkpinfo->manual_cd_tray = FALSE;
     702    bkpinfo->manual_tray = mr_conf->manual_tray;
    703703    bkpinfo->internal_tape_block_size = DEFAULT_INTERNAL_TAPE_BLOCK_SIZE;
    704704    mr_asprintf(&tmp,mr_conf->media_device);
Note: See TracChangeset for help on using the changeset viewer.