Ignore:
Timestamp:
May 26, 2008, 5:35:44 PM (16 years ago)
Author:
Bruno Cornec
Message:
  • Adds OBDR support (use_obdr field in bkpinfo added, -o option changed to mean OBDR - LILO not usable anyway as a bootloader for ISO images)
File:
1 edited

Legend:

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

    r1937 r1948  
    10411041read_cfg_var(cfg_file, "use-star", value);
    10421042if (strstr(value, "yes")) {
    1043 bkpinfo->use_star = TRUE;
    1044 log_msg(1, "Goody! ... bkpinfo->use_star is now true.");
     1043    bkpinfo->use_star = TRUE;
     1044    log_msg(1, "Goody! ... bkpinfo->use_star is now true.");
     1045}
     1046
     1047read_cfg_var(cfg_file, "obdr", value);
     1048if (strstr(value, "TRUE")) {
     1049    bkpinfo->use_obdr = TRUE;
     1050    log_msg(1, "OBDR mode activated");
    10451051}
    10461052
    10471053read_cfg_var(cfg_file, "acl", value);
    10481054if (strstr(value, "TRUE")) {
    1049 asprintf(&g_getfacl,"setfacl");
    1050 log_msg(1, "We will restore ACLs");
    1051 if (! find_home_of_exe("setfacl")) {
    1052     log_msg(1, "Unable to restore ACLs as no setfacl found");
    1053 }
     1055    asprintf(&g_getfacl,"setfacl");
     1056    log_msg(1, "We will restore ACLs");
     1057    if (! find_home_of_exe("setfacl")) {
     1058        log_msg(1, "Unable to restore ACLs as no setfacl found");
     1059    }
    10541060}
    10551061read_cfg_var(cfg_file, "xattr", value);
    10561062if (strstr(value, "TRUE")) {
    1057 asprintf(&g_getfattr,"setfattr");
    1058 log_msg(1, "We will restore XATTRs");
    1059 if (! find_home_of_exe("setfattr")) {
    1060     log_msg(1, "Unable to restore XATTRs as no setfattr found");
    1061 }
     1063    asprintf(&g_getfattr,"setfattr");
     1064    log_msg(1, "We will restore XATTRs");
     1065    if (! find_home_of_exe("setfattr")) {
     1066        log_msg(1, "Unable to restore XATTRs as no setfattr found");
     1067    }
    10621068}
    10631069
Note: See TracChangeset for help on using the changeset viewer.