Changeset 1193 in MondoRescue
- Timestamp:
- Feb 20, 2007, 12:24:22 PM (18 years ago)
- Location:
- branches/stable
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi/mindi
r1177 r1193 344 344 Die "Please install either fdformat or superformat." 345 345 fi 346 echo -en "\ rWriting $comment"346 echo -en "\nWriting $comment" 347 347 if echo $image | grep "mindi-[r|b]oot\.1440" &> /dev/null ; then 348 348 cat $image > $dev & … … 1145 1145 [ "$mountlist" != "" ] && rm -Rf $mountlist 1146 1146 > $mountlist 1147 echo -en "\rHang on...\r"1148 1147 all_partitions="" 1149 1148 1150 1149 if [ $LVM != "false" ]; then 1151 echo -en " \rAnalyzing LVM...\r"1150 echo -en "Analyzing LVM...\n" 1152 1151 $MINDI_LIB/analyze-my-lvm > $MINDI_TMP/lvm.res 1153 1152 if [ $? -ne 0 ]; then … … 2062 2061 rmdir $mountpoint || LogIt "Cannot rmdir (PBDI)" 2063 2062 if [ "$retval" -eq "0" ] ; then 2064 echo -en "...$DONE\ r"2063 echo -en "...$DONE\n" 2065 2064 if [ "$KERN_DISK_MADE" ] ; then 2066 LogIt " ... $disksize KB boot disks were created OK\r"2067 fi 2068 else 2069 echo -en "...failed\ r"2070 LogIt $disksize"KB boot disk was NOT created\ r"2065 LogIt "$disksize KB boot disks were created OK\n" 2066 fi 2067 else 2068 echo -en "...failed\n" 2069 LogIt $disksize"KB boot disk was NOT created\n" 2071 2070 rm -f $imagefile 2072 2071 fi … … 2167 2166 2168 2167 if [ "$retval" -eq "0" ] ; then 2169 echo -en "...$DONE\ r"2168 echo -en "...$DONE\n" 2170 2169 if [ "$KERN_DISK_MADE" ] ; then 2171 2170 rm -f $imagefile 2172 LogIt " ... $disksize KB boot disks were created OK\r"2173 fi 2174 else 2175 echo -en "...failed\ r"2176 LogIt $disksize"KB boot disk was NOT created\ r"2171 LogIt "$disksize KB boot disks were created OK\n" 2172 fi 2173 else 2174 echo -en "...failed\n" 2175 LogIt $disksize"KB boot disk was NOT created\n" 2177 2176 rm -f $imagefile 2178 2177 fi -
branches/stable/mindi/rootfs/sbin/init
r1158 r1193 539 539 LogIt "I think this CD/floppy has no archives on it." 540 540 fi 541 echo -en "Type 'exit' to reboot the PC\ r"541 echo -en "Type 'exit' to reboot the PC\n" 542 542 umount /mnt/cdrom 2> /dev/null 543 543 mount / -o rw,remount > /dev/null 2> /dev/null -
branches/stable/mindi/rootfs/sbin/install-additional-tools
r866 r1193 43 43 biggiefsize=`cat $stub.size` 44 44 rm -f $stub.name $stub.size 45 # echo -e -n "\rRecombining #$biggienumber ($biggiefname) \r"46 45 > /tmp/out.dat 47 46 sliceno=0 -
branches/stable/mondo/src/common/libmondo-archive.c
r1186 r1193 18 18 19 19 #include "my-stuff.h" 20 #include " ../common/mondostructures.h"20 #include "mondostructures.h" 21 21 #include "mr_conf.h" 22 22 #include "mr_mem.h" … … 3506 3506 mr_asprintf(&tmp, "Writing the final ISO"); 3507 3507 mr_msg(2, tmp); 3508 /* BERLIOS: Doesn't work on allocated chains anymore 3508 3509 center_string(tmp, 80); 3510 */ 3509 3511 #ifndef _XWIN 3510 3512 if (!g_text_mode) { -
branches/stable/mondo/src/common/newt-specific.c
r1184 r1193 129 129 sync(); 130 130 printf 131 ("---promptdialogYN---1--- %s\ r\n---promptdialogYN---Q--- [yes] [no] ---\r\n--> ",131 ("---promptdialogYN---1--- %s\n---promptdialogYN---Q--- [yes] [no] ---\n--> ", 132 132 prompt); 133 133 mr_getline(&tmp, &n, stdin); … … 173 173 sync(); 174 174 printf 175 ("---promptdialogOKC---1--- %s\ r\n---promptdialogOKC---Q--- [OK] [Cancel] ---\r\n--> ",175 ("---promptdialogOKC---1--- %s\n---promptdialogOKC---Q--- [OK] [Cancel] ---\n--> ", 176 176 prompt); 177 177 mr_getline(&tmp, &n, stdin); … … 558 558 } else { 559 559 mr_asprintf(&tmp, title); 560 /* BERLIOS: Doesn't work on allocated chains anymore 560 561 center_string(tmp, 80); 562 */ 561 563 newtPushHelpLine(tmp); 562 564 mr_free(tmp); 563 565 } 566 /* BERLIOS: Doesn't work on allocated chains anymore 564 567 center_string(g_isoform_header_str, 36); 568 */ 565 569 g_isoform_starttime = get_time(); 566 570 if (g_text_mode) { … … 614 618 mr_asprintf(&blurb3, b3); 615 619 mr_asprintf(&b1c, b1); 620 /* BERLIOS: Doesn't work for allocated chains anymore 616 621 center_string(b1c, 80); 622 */ 617 623 if (max_val <= 0) { 618 624 max_val = 1; … … 665 671 if (g_text_mode) { 666 672 printf 667 ("---promptpopup---1--- %s\ r\n---promptpopup---Q--- [OK] ---\r\n--> ",673 ("---promptpopup---1--- %s\n---promptpopup---Q--- [OK] ---\n--> ", 668 674 prompt); 669 675 while (((ch = getchar()) != '\n') && (ch != EOF)); … … 707 713 if (g_text_mode) { 708 714 printf 709 ("---promptstring---1--- %s\ r\n---promptstring---2--- %s\r\n---promptstring---Q---\r\n--> ",715 ("---promptstring---1--- %s\n---promptstring---2--- %s\n---promptstring---Q---\n--> ", 710 716 title, b); 711 717 (void) fgets(output, maxsize, stdin); … … 732 738 myForm = newtForm(NULL, NULL, 0); 733 739 newtFormAddComponents(myForm, text, type_here, b_1, b_2, NULL); 740 /* BERLIOS: Doesn't work on allocated chains anymore 734 741 center_string(blurb, 80); 742 */ 735 743 newtPushHelpLine(blurb); 736 744 mr_free(blurb); … … 814 822 myForm = newtForm(NULL, NULL, 0); 815 823 newtFormAddComponents(myForm, text, b_1, b_2, NULL); 824 /* BERLIOS: Doesn't work on allocated chains anymore 816 825 center_string(prompt, 80); 826 */ 817 827 newtPushHelpLine(prompt); 818 828 mr_free(prompt); … … 968 978 mr_strcat(taskprogress, tmp1); 969 979 mr_free(tmp1); 970 printf("---evalcall---1--- %s\r\n", 971 g_isoform_header_str); 972 printf("---evalcall---2--- %s\r\n", taskprogress); 973 printf("---evalcall---E---\r\n"); 980 printf("---evalcall------ %s\n", taskprogress); 974 981 mr_free(taskprogress); 975 982 } … … 1095 1102 mr_free(taskprogress); 1096 1103 } else { 1104 /* BERLIOS: Doesn't work on allocated chains anymore 1097 1105 center_string(blurb1, 54); 1106 */ 1107 /* BERLIOS: Doesn't work on allocated chains anymore 1098 1108 center_string(blurb2, 54); 1109 */ 1110 /* BERLIOS: Doesn't work on allocated chains anymore 1099 1111 center_string(blurb3, 54); 1112 */ 1100 1113 newtLabelSetText(g_blurb1, blurb1); 1101 1114 newtLabelSetText(g_blurb2, blurb3); -
branches/stable/mondo/src/mondorestore/mondorestore.c
r1192 r1193 2888 2888 **************************************************************************/ 2889 2889 if (getuid() != 0) { 2890 fprintf(stderr, "Please run as root.\ r\n");2890 fprintf(stderr, "Please run as root.\n"); 2891 2891 exit(127); 2892 2892 } -
branches/stable/mondo/src/restore-scripts/mondo/restore-bigfiles-from-iso
r998 r1193 38 38 cd $restorepath 39 39 for slicename in `find $MOUNTPT/archives | grep "slice-" | sort` ; do 40 # echo -en "Slice = $slicename \r"41 40 echo -en "." 42 41 if echo "$slicename" | grep "slice-[0-9]*.00000\.dat" 2> /dev/null; then
Note:
See TracChangeset
for help on using the changeset viewer.