Ignore:
Timestamp:
Mar 22, 2010, 1:56:30 PM (14 years ago)
Author:
Bruno Cornec
Message:

r3757@localhost: bruno | 2010-03-17 15:05:13 +0100

  • Adds a new interface param between mondoarchive and mindi for backup-media-type which was missing
  • Improve again logging
  • Try to improve keymap support
  • Remove some remaining hard coded /proc/cmdline
  • Adds a cache for the find command for modules launched twice to make it quicker on my Atom netboot in a QEMU VM
  • Remove dependency at build time on mindi to only use MINDI_CONF env var
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mindi/rootfs/sbin/hack-cfg-if-necessary

    r2591 r2603  
    1717
    1818if [ -f $MINDI_CACHE/mondorestore.cfg ]; then
    19     if [ !  grep "backup-media-type iso" $MINDI_CACHE/mondorestore.cfg 2 > /dev/null] ; then
     19    grep -q "backup-media-type iso" $MINDI_CACHE/mondorestore.cfg 2> /dev/null
     20    if [ $? -ne 0 ] ; then
    2021        LogIt "Config file is fine, BTW."
    2122        exit 0
    2223    fi
    23 fi
    24 
    25 if [ -f $MINDI_CACHE/mondorestore.cfg ]; then
    2624    LogIt "Re-jigging mondorestore.cfg because you backed up to ISOs and then burned them to CDs" 1
    2725    sed -i 's/backup-media-type iso/backup-media-type cdr/' $MINDI_CACHE/mondorestore.cfg
Note: See TracChangeset for help on using the changeset viewer.