Changeset 1315 in MondoRescue for branches/2.2.2/mindi/mindi
- Timestamp:
- Apr 16, 2007, 4:13:59 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.2/mindi/mindi
r1311 r1315 430 430 echo "Mindi $MINDI_VERSION is exiting" >> $LOGFILE 431 431 echo "End date : `date`" >> $LOGFILE 432 if [ "`DidMondoCallMe`" ] ; then 433 cat $LOGFILE >> /var/log/mondoarchive.log 434 fi 432 435 433 436 sync … … 452 455 fi 453 456 454 # Creates a tar file containing all required files 455 for i in /etc/fstab /etc/lilo.conf /etc/raidtab $LOGFILE /var/log/mondo-archive.log ; do 456 [ -e "$i" ] && cp -f $i $MINDI_TMP 2>> $LOGFILE 457 done 458 rm -f $TMPDIR/mindi.err.*.tgz 459 tar -cf - $MINDI_TMP | gzip -9 > $TMPDIR/mindi.err.$$.tgz 460 LogIt "Please e-mail a copy of $TMPDIR/mindi.err.$$.tgz to the mailing list." 457 LogIt "Please e-mail a copy of $LOGFILE to the mailing list." 461 458 LogIt "See http://www.mondorescue.org for more information." 462 459 LogIt "WE CANNOT HELP unless you enclose that file.\n" … … 1356 1353 current_partition=$actual_dev 1357 1354 else 1358 Die "Your system uses a UUID partition ($current_partition), but you lack the tool to support it.\nPlease replace labels with their correct devices in /etc/fstabor install findfs|blkid|vol_id"1355 Die "Your system uses a UUID partition ($current_partition), but you lack the tool to support it.\nPlease replace labels with their correct devices in $MY_FSTAB or install findfs|blkid|vol_id" 1359 1356 fi 1360 1357 else … … 2892 2889 mount >> $LOGFILE 2893 2890 echo "-------------" >> $LOGFILE 2891 if [ -e /etc/raidtab ]; then 2892 echo "-------------" >> $LOGFILE 2893 echo "/etc/raidtab content:" >> $LOGFILE 2894 echo "-------------" >> $LOGFILE 2895 cat /etc/raidtab >> $LOGFILE 2896 fi 2897 echo "-------------" >> $LOGFILE 2894 2898 echo "lsmod result:" >> $LOGFILE 2895 2899 echo "-------------" >> $LOGFILE … … 3031 3035 LogIt "------------------------------------------------------------------------------" 3032 3036 else 3033 echo "You are using Mindi-Linux v$MINDI_VERSION to make boot+data disks" >> /var/log/mondo-archive.log3037 echo "You are using Mindi-Linux v$MINDI_VERSION to make boot+data disks" >> $LOGFILE 3034 3038 fi 3035 3039 if [ -f $MINDI_LIB/rootfs/bin/busybox ]; then
Note:
See TracChangeset
for help on using the changeset viewer.