Changeset 1158 in MondoRescue for branches/stable/mindi/mindi


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/mindi

    r1143 r1158  
    517517        echo -en "Adding the following keyboard mapping tables: "
    518518        mkdir -p $bigdir/tmp
    519         echo "keymap-lives-here /etc/console/boottime.kmap.gz" > $MINDI_TMP/mondo-restore.cfg
     519        echo "keymap-lives-here=/etc/console/boottime.kmap.gz" >> $MINDI_TMP/mondo-restore.cfg
    520520        KBDEPTH=0
    521521        mkdir -p $bigdir/etc/console
     
    568568    echo -en "Adding the following keyboard mapping tables: "
    569569    mkdir -p $bigdir/tmp
    570     echo "keymap-lives-here $mappath" > $MINDI_TMP/mondo-restore.cfg
     570    echo "keymap-lives-here=$mappath" >> $MINDI_TMP/mondo-restore.cfg
    571571    KBDEPTH=0
    572572    AddKeyboardMappingFile $mappath
     
    22442244    # master boot record, too
    22452245    if [ _"$MONDORESTORECFG" != _"" ]; then
    2246         i=`grep bootloader.device $MONDORESTORECFG | cut -d' ' -f2 2> /dev/null`
     2246        i=`grep bootloader.device $MONDORESTORECFG | cut -d'=' -f2 2> /dev/null`
    22472247        if [ "$i" ] ; then
    22482248            LogIt "Backing up $i's MBR"
     
    31283128        echo "-----------------------------------" >> $LOGFILE
    31293129
    3130         CDRECOVERY=`grep use-cdrecovery $MONDORESTORECFG | cut -d' ' -f2`
    3131         NOT_BOOT=`grep non-bootable $MONDORESTORECFG | cut -d' ' -f2`
    3132         USE_LILO=`grep use-lilo $MONDORESTORECFG | cut -d' ' -f2`
    3133         EXCLUDE_DEVS=`grep excluded-devs $MONDORESTORECFG | cut -d' ' -f2`
    3134         NFS_DEV=`grep nfs-dev $MONDORESTORECFG | cut -d' ' -f2`
    3135         VALUE=`grep image-devs $MONDORESTORECFG | cut -d' ' -f2`
     3130        CDRECOVERY=`grep use-cdrecovery $MONDORESTORECFG | cut -d'=' -f2`
     3131        NOT_BOOT=`grep non-bootable $MONDORESTORECFG | cut -d'=' -f2`
     3132        USE_LILO=`grep use-lilo $MONDORESTORECFG | cut -d'=' -f2`
     3133        EXCLUDE_DEVS=`grep excluded-devs $MONDORESTORECFG | cut -d'=' -f2`
     3134        NFS_DEV=`grep nfs-dev $MONDORESTORECFG | cut -d'=' -f2`
     3135        VALUE=`grep image-devs $MONDORESTORECFG | cut -d'=' -f2`
    31363136        if [ "$VALUE" = "(null)" ] || [ "$VALUE" = "" ] ; then
    31373137            IMAGE_DEVS=""
Note: See TracChangeset for help on using the changeset viewer.