Ignore:
Timestamp:
Feb 14, 2007, 2:32:50 AM (13 years ago)
Author:
bruno
Message:

WARNING: Interface change for mondo-restore.cfg: the delimiter between the variable name and its value is now a = (was a ' ')
This change will allow the introduction of the new mr_conf functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/common/libmondo-tools.c

    r1155 r1158  
    605605
    606606        fd1 = mr_fopen(MONDORESTORECFG, "a");
    607         mr_fprintf(fd1, "iso-dev %s\n", iso_dev);
     607        mr_fprintf(fd1, "iso-dev=%s\n", iso_dev);
    608608
    609609        sprintf(command, "mount | grep -w %s | tail -n1 | cut -d' ' -f3",
     
    614614
    615615        log_it("res of it = %s", iso_mnt);
    616         mr_fprintf(fd1, "iso-mnt %s\n", iso_mnt);
     616        mr_fprintf(fd1, "iso-mnt=%s\n", iso_mnt);
    617617        log_it("isomnt: %s, %d", iso_mnt, strlen(iso_mnt));
    618618
     
    624624        }
    625625        log_it("isodir: %s", iso_path);
    626         mr_fprintf(fd1, "isodir %s\n", iso_path);
     626        mr_fprintf(fd1, "isodir=%s\n", iso_path);
    627627
    628628        log_it("iso-prefix: %s",  bkpinfo->prefix);
    629         mr_fprintf(fd1, "iso-prefix %s\n", bkpinfo->prefix);
     629        mr_fprintf(fd1, "iso-prefix=%s\n", bkpinfo->prefix);
    630630
    631631        mr_fclose(fd1);
Note: See TracChangeset for help on using the changeset viewer.