Ignore:
Timestamp:
Feb 14, 2007, 2:32:50 AM (17 years ago)
Author:
Bruno Cornec
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/mindi/rootfs/sbin/hack-cfg-if-necessary

    r275 r1158  
    1616LogIt "OK, we've found /mnt/cdrom/archives/*; great."
    1717
    18 if ! grep "backup-media-type iso" /tmp/mondo-restore.cfg ; then
     18if ! grep "backup-media-type=iso" /tmp/mondo-restore.cfg ; then
    1919    LogIt "Config file is fine, BTW."
    2020    exit 0
     
    2323LogIt "Re-jigging mondo-restore.cfg because you backed up to ISOs and then burned them to CDs" 1
    2424mv -f /tmp/mondo-restore.cfg /tmp/mrco
    25 sed 's/backup-media-type iso/backup-media-type cdr/' /tmp/mrco > /tmp/mondo-restore.cfg
     25sed 's/backup-media-type=iso/backup-media-type=cdr/' /tmp/mrco > /tmp/mondo-restore.cfg
    2626LogIt "Done re-jigging. Yay."
    2727exit 0
Note: See TracChangeset for help on using the changeset viewer.