Changeset 1454


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

Fix #114

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/mondorestore/mondorestore.c

    r1374 r1454  
    401401    read_cfg_file_into_bkpinfo(g_mondo_cfg_file, bkpinfo);
    402402    iamhere("Done loading config file; resizing ML");
     403    strcpy(tmp, bkpinfo->prefix);
     404    if (popup_and_get_string
     405        ("Prefix", "Prefix of your ISO images ?", tmp, MAX_STR_LEN / 4)) {
     406        strcpy(bkpinfo->prefix, tmp);
     407        log_msg(1, "Prefix set to %s",bkpinfo->prefix);
     408    }
     409   
    403410#ifdef __FreeBSD__
    404411    if (strstr
     
    29993006    }
    30003007
     3008    if (argc == 3 && strcmp(argv[1], "-p") == 0) {
     3009        strcpy(bkpinfo->prefix,argv[2]);
     3010        log_msg(1,"Prefix forced to %s",bkpinfo->prefix);
     3011    }
     3012
    30013013
    30023014    if (argc == 2 && strcmp(argv[1], "--live-grub") == 0) {
Note: See TracChangeset for help on using the changeset viewer.