Changeset 1453


Ignore:
Timestamp:
May 20, 2007, 11:32:25 PM (12 years ago)
Author:
bruno
Message:

Fix #114

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.4/mondo/src/mondorestore/mondo-restore.c

    r1353 r1453  
    419419    read_cfg_file_into_bkpinfo(g_mondo_cfg_file, bkpinfo);
    420420    iamhere("Done loading config file; resizing ML");
     421    strcpy(tmp, bkpinfo->prefix);
     422    if (popup_and_get_string
     423        ("Prefix", "Prefix of your ISO images ?", tmp, MAX_STR_LEN / 4)) {
     424        strcpy(bkpinfo->prefix, tmp);
     425        log_msg(1, "Prefix set to %s",bkpinfo->prefix);
     426    }
     427   
    421428#ifdef __FreeBSD__
    422429    if (strstr
     
    31123119    }
    31133120
     3121    if (argc == 3 && strcmp(argv[1], "-p") == 0) {
     3122        strcpy(bkpinfo->prefix,argv[2]);
     3123        log_msg(1,"Prefix forced to %s",bkpinfo->prefix);
     3124    }
     3125
    31143126
    31153127    if (argc == 2 && strcmp(argv[1], "--live-grub") == 0) {
Note: See TracChangeset for help on using the changeset viewer.