Changeset 3543 in MondoRescue for branches/3.2/mindi/mindi


Ignore:
Timestamp:
Mar 24, 2016, 6:28:21 PM (8 years ago)
Author:
Bruno Cornec
Message:
  • Avoid a double check on mondorestore
  • Copy the restore script that are under mondo in /usr/bin on the restore media and the conf file example in /etc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi/mindi

    r3542 r3543  
    21422142    fi
    21432143    if [ -e "$MONDO_SHARE/restore-scripts" ]; then
    2144         cp -Rdf $MONDO_SHARE/restore-scripts/* $bigdir/usr/bin 2>> $LOGFILE
     2144        cp -Rdf $MONDO_SHARE/restore-scripts/mondo/* $bigdir/usr/bin 2>> $LOGFILE
    21452145        [ $? -ne 0 ] && [ _"$MONDO_SHARE" != _"" ] && Die "Cannot find/install $MONDO_SHARE/restore-scripts"
     2146        cp -Rdf $MONDO_SHARE/restore-scripts/etc/* $bigdir/etc 2>> $LOGFILE
    21462147    fi
    21472148    if [ -d "/lib/dev-state" ]; then
Note: See TracChangeset for help on using the changeset viewer.