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/mindi/rootfs/usr/sbin/hack-cfg-if-necessary

    r3216 r3271  
    1616LogIt "OK, we've found /mnt/cdrom/archives/*; great."
    1717
    18 if ! grep "backup-media-type iso" /tmp/mondo-restore.cfg 2> /dev/null ; then
     18if ! grep "backup-media-type iso" /tmp/mondorestore.cfg 2> /dev/null ; then
    1919    LogIt "Config file is fine, BTW."
    2020    exit 0
    2121fi
    2222
    23 LogIt "Re-jigging mondo-restore.cfg because you backed up to ISOs and then burned them to CDs" 1
    24 sed -i 's/backup-media-type iso/backup-media-type cdr/' /tmp/mondo-restore.cfg
     23LogIt "Re-jigging mondorestore.cfg because you backed up to ISOs and then burned them to CDs" 1
     24sed -i 's/backup-media-type iso/backup-media-type cdr/' /tmp/mondorestore.cfg
    2525LogIt "Done re-jigging. Yay."
    2626exit 0
Note: See TracChangeset for help on using the changeset viewer.