Changeset 252 in MondoRescue for trunk/mondo/mondo


Ignore:
Timestamp:
Dec 21, 2005, 2:45:55 AM (18 years ago)
Author:
bcornec
Message:

merge -r249:251 $SVN_M/branches/2.05

Location:
trunk/mondo/mondo
Files:
4 edited

Legend:

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

    r236 r252  
    17621762        paranoid_free(prompt);
    17631763
     1764        if (!popup_and_get_string
     1765            ("Prefix.",
     1766             "Please enter the prefix that will be prepended to your ISO filename.  Example: machine1 to obtain machine1-[1-9]*.iso files",
     1767            bkpinfo->prefix, MAX_STR_LEN / 4)) {
     1768            log_to_screen("User has chosen not to backup the PC");
     1769            finish(1);
     1770        }
     1771        log_msg(3, "prefix set to %s", bkpinfo->prefix);
     1772
    17641773        for (i = 0; i <= MAX_NOOF_MEDIA; i++) {
    17651774            bkpinfo->media_size[i] = 650;
     
    18041813                    finish(1);
    18051814                }
     1815                log_msg(3, "prefix set to %s", bkpinfo->prefix);
    18061816            } else {
    18071817                for (i = 0; i <= MAX_NOOF_MEDIA; i++) {
     
    19551965    log_it("media type = %s",
    19561966           bkptype_to_string(bkpinfo->backup_media_type));
     1967    log_it("prefix = %s", bkpinfo->prefix);
    19571968    log_it("compression = %ld", bkpinfo->compression_level);
    19581969    log_it("include_paths = '%s'", bkpinfo->include_paths);
  • trunk/mondo/mondo/mondoarchive/main.c

    r219 r252  
    5353{
    5454    log_msg(0, "Mondo Archive v%s --- http://www.mondorescue.org",
    55             VERSION);
     55            PACKAGE_VERSION);
    5656    log_msg(0, "running on %s architecture", get_architecture());
    5757    log_msg(0,
     
    148148        && (!strcmp(argv[argc - 1], "-v") || !strcmp(argv[argc - 1], "-V")
    149149            || !strcmp(argv[argc - 1], "--version"))) {
    150         printf("mondoarchive v%s\nSee man page for help\n", VERSION);
     150        printf("mondoarchive v%s\nSee man page for help\n", PACKAGE_VERSION);
    151151        exit(0);
    152152    }
  • trunk/mondo/mondo/mondorestore/mondo-restore.c

    r219 r252  
    31443144void welcome_to_mondorestore()
    31453145{
    3146     log_msg(0, "-------------- Mondo Restore v%s -------------", VERSION);
     3146    log_msg(0, "-------------- Mondo Restore v%s -------------", PACKAGE_VERSION);
    31473147    log_msg(0,
    31483148            "DON'T PANIC! Mondorestore logs almost everything, so please ");
  • trunk/mondo/mondo/mondorestore/mondo-rstr-tools.c

    r171 r252  
    10161016                    log_it
    10171017                        ("Re-jigging configuration AGAIN. CD-R, not ISO.");
    1018                 } else {
    1019                     bkpinfo->backup_media_type = iso;
    1020                     if (read_cfg_var(cfg_file, "iso-prefix", value) == 0) {
    1021                             strcpy(bkpinfo->prefix,value);
    1022                     } else {
    1023                             strcpy(bkpinfo->prefix,STD_PREFIX);
    1024                     }
    10251018                }
     1019            if (read_cfg_var(cfg_file, "iso-prefix", value) == 0) {
     1020                    strcpy(bkpinfo->prefix,value);
     1021            } else {
     1022                    strcpy(bkpinfo->prefix,STD_PREFIX);
    10261023            }
    10271024        } else if (!strcmp(value, "nfs")) {
Note: See TracChangeset for help on using the changeset viewer.