Changeset 3542 in MondoRescue for branches/3.2/mondo/src/restore-scripts/mondo/mr-stabelilo-me
- Timestamp:
- Mar 24, 2016, 5:48:03 PM (8 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mondo/src/restore-scripts/mondo/mr-stabelilo-me
r3541 r3542 6 6 QuitIfNotFound() { 7 7 if [ ! -f "$1" ] ; then 8 LogIt "( stabelilo-me) Where's $1? I cannot continue." 18 LogIt "(mr-stabelilo-me) Where's $1? I cannot continue." 1 9 9 exit 1 10 10 fi … … 130 130 # --------------------------------- main ------------------------------- 131 131 132 LogIt " stabelilo-me --- starting"132 LogIt "mr-stabelilo-me --- starting" 133 133 LocateOldFstab 134 134 LocateOldElilo … … 150 150 LogIt "Modifying fstab..." 2 151 151 outval=0 152 hack-fstab $old_mountlist $old_fstab $new_mountlist $new_fstab152 mr-hack-fstab $old_mountlist $old_fstab $new_mountlist $new_fstab 153 153 res=$? 154 154 if [ "$res" -ne "0" ] ; then 155 echo "Warning - hack-fstab failed"155 echo "Warning - mr-hack-fstab failed" 156 156 outval=$(($outval+$res)) 157 157 fi 158 158 159 159 LogIt "Modifying elilo.conf. Please wait..." 2 160 hack-elilo $old_mountlist $old_fstab $old_liloconf $new_mountlist $new_fstab $new_liloconf160 mr-hack-elilo $old_mountlist $old_fstab $old_liloconf $new_mountlist $new_fstab $new_liloconf 161 161 res=$? 162 162 outval=$(($outval+$res)) … … 189 189 LogIt "/etc/fstab and /etc/elilo.conf were modified ok." 3 190 190 fi 191 LogIt " stabelilo-me --- leaving"191 LogIt "mr-stabelilo-me --- leaving" 192 192 exit $outval 193 193
Note:
See TracChangeset
for help on using the changeset viewer.