Ignore:
Timestamp:
Apr 29, 2014, 9:23:09 PM (10 years ago)
Author:
Bruno Cornec
Message:
  • Rename the conf file mondo-restore.cfg into mondorestore.cfg for homogeneity (continued)
File:
1 edited

Legend:

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

    r3263 r3271  
    2929
    3030/**
    31  * The mondo-restore.cfg stub (appended to the directory where all.tar.gz was unpacked).
     31 * The mondorestore.cfg stub (appended to the directory where all.tar.gz was unpacked).
    3232 */
    33 #define MONDO_CFG_FILE_STUB "tmp/mondo-restore.cfg"
     33#define MONDO_CFG_FILE_STUB "tmp/mondorestore.cfg"
    3434/**
    3535 * The i-want-my-lvm stub
     
    170170
    171171/**
    172 * Extract @c mondo-restore.cfg and @c mountlist.txt from @p ramdisk_fname.
     172* Extract @c mondorestore.cfg and @c mountlist.txt from @p ramdisk_fname.
    173173* @param bkpinfo The backup information structure. @c tmpdir is the only field used.
    174174* @param ramdisk_fname The filename of the @b compressed ramdisk to look in.
     
    180180
    181181/**
    182 * Keep trying to get mondo-restore.cfg from the archive, until the user gives up.
     182* Keep trying to get mondorestore.cfg from the archive, until the user gives up.
    183183*/
    184184void get_cfg_file_from_archive_or_bust()
     
    628628/**
    629629* Fill out @p bkpinfo based on @p cfg_file.
    630 * @param cfg_file The mondo-restore.cfg file to read into @p bkpinfo.
     630* @param cfg_file The mondorestore.cfg file to read into @p bkpinfo.
    631631* @param bkpinfo The backup information structure to fill out with information
    632632* from @p cfg_file.
     
    20222022
    20232023/**
    2024  * Extract mondo-restore.cfg and the mountlist from the tape inserted
     2024 * Extract mondorestore.cfg and the mountlist from the tape inserted
    20252025 * to the ./tmp/ directory.
    20262026 * @param dev The tape device to read from.
     
    21572157            mr_free(tmp);
    21582158
    2159             if (!does_file_exist("tmp/mondo-restore.cfg")) {
     2159            if (!does_file_exist("tmp/mondorestore.cfg")) {
    21602160                log_to_screen("Cannot find config info on media");
    21612161                return (1);
     
    22362236    }
    22372237
    2238     log_to_screen("Recovered mondo-restore.cfg");
     2238    log_to_screen("Recovered mondorestore.cfg");
    22392239    if (!does_file_exist(MOUNTLIST_FNAME_STUB)) {
    22402240        log_to_screen("...but not mountlist.txt - a pity, really...");
Note: See TracChangeset for help on using the changeset viewer.