Ignore:
Timestamp:
Mar 24, 2016, 5:48:03 PM (8 years ago)
Author:
Bruno Cornec
Message:
  • Rename all mondorestore scripts with the mr- prefix and adapt callers
  • Place these scripts in /usr/bin on the restore media
  • Fix a mindi bug where these scripts were not copied anymore with previous modifications around removal of cd
File:
1 edited

Legend:

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

    r3510 r3542  
    20452045            mr_asprintf(fstab_fname, "/tmp/fstab");
    20462046        }
    2047         mr_asprintf(tmp1, "label-partitions-as-necessary %s < %s >> %s 2>> %s", g_mountlist_fname, fstab_fname, MONDO_LOGFILE, MONDO_LOGFILE);
     2047        mr_asprintf(tmp1, "mr-label-partitions-as-necessary %s < %s >> %s 2>> %s", g_mountlist_fname, fstab_fname, MONDO_LOGFILE, MONDO_LOGFILE);
    20482048        mr_free(fstab_fname);
    20492049
     
    20512051        mr_free(tmp1);
    20522052        if (res) {
    2053             log_to_screen("label-partitions-as-necessary returned an error");
     2053            log_to_screen("mr-label-partitions-as-necessary returned an error");
    20542054            mvaddstr_and_log_it(g_currentY++, 74, "Failed.");
    20552055        } else {
     
    21912191    mvaddstr_and_log_it(g_currentY, 0, "Using tune2fs/tune4fs to identify your ext2,3,4 partitions");
    21922192
    2193     mr_asprintf(tmp1, "label-partitions-as-necessary %s < /tmp/fstab >> %s 2>> %s", "/tmp/mountlist.txt", MONDO_LOGFILE, MONDO_LOGFILE);
     2193    mr_asprintf(tmp1, "mr-label-partitions-as-necessary %s < /tmp/fstab >> %s 2>> %s", "/tmp/mountlist.txt", MONDO_LOGFILE, MONDO_LOGFILE);
    21942194    res = run_program_and_log_output(tmp1, TRUE);
    21952195    mr_free(tmp1);
    21962196    if (res) {
    2197         log_to_screen("label-partitions-as-necessary returned an error");
     2197        log_to_screen("mr-label-partitions-as-necessary returned an error");
    21982198        mvaddstr_and_log_it(g_currentY++, 74, "Failed.");
    21992199    } else {
Note: See TracChangeset for help on using the changeset viewer.