Ignore:
Timestamp:
Mar 24, 2016, 5:48:03 PM (8 years ago)
Author:
Bruno Cornec
Message:
  • Rename all mondorestore scripts with the mr- prefix and adapt callers
  • Place these scripts in /usr/bin on the restore media
  • Fix a mindi bug where these scripts were not copied anymore with previous modifications around removal of cd
File:
1 moved

Legend:

Unmodified
Added
Removed
  • branches/3.2/mondo/src/restore-scripts/mondo/mr-stabelilo-me

    r3541 r3542  
    66QuitIfNotFound() {
    77    if [ ! -f "$1" ] ; then
    8     LogIt "(stabelilo-me) Where's $1? I cannot continue." 1
     8    LogIt "(mr-stabelilo-me) Where's $1? I cannot continue." 1
    99    exit 1
    1010    fi
     
    130130# --------------------------------- main -------------------------------
    131131
    132 LogIt "stabelilo-me --- starting"
     132LogIt "mr-stabelilo-me --- starting"
    133133LocateOldFstab
    134134LocateOldElilo
     
    150150LogIt "Modifying fstab..." 2
    151151outval=0
    152 hack-fstab $old_mountlist $old_fstab $new_mountlist $new_fstab
     152mr-hack-fstab $old_mountlist $old_fstab $new_mountlist $new_fstab
    153153res=$?
    154154if [ "$res" -ne "0" ] ; then
    155     echo "Warning - hack-fstab failed"
     155    echo "Warning - mr-hack-fstab failed"
    156156    outval=$(($outval+$res))
    157157fi
    158158   
    159159LogIt "Modifying elilo.conf. Please wait..." 2
    160 hack-elilo $old_mountlist $old_fstab $old_liloconf $new_mountlist $new_fstab $new_liloconf
     160mr-hack-elilo $old_mountlist $old_fstab $old_liloconf $new_mountlist $new_fstab $new_liloconf
    161161res=$?
    162162outval=$(($outval+$res))
     
    189189    LogIt "/etc/fstab and /etc/elilo.conf were modified ok." 3
    190190fi
    191 LogIt "stabelilo-me --- leaving"
     191LogIt "mr-stabelilo-me --- leaving"
    192192exit $outval
    193193
Note: See TracChangeset for help on using the changeset viewer.