Changeset 3543 in MondoRescue for branches


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
Location:
branches/3.2/mindi
Files:
2 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
  • branches/3.2/mindi/rootfs/usr/sbin/post-init

    r3542 r3543  
    5050fi
    5151
    52 for i in mr-mount-me mr-unmount-me mondorestore ; do
     52for i in mr-mount-me mr-unmount-me; do
    5353    if which $i > /dev/null 2> /dev/null ; then
    5454        LogIt "$i found"
Note: See TracChangeset for help on using the changeset viewer.