Changeset 2094 in MondoRescue for branches/2.2.8/mondo/src/mondorestore/mondorestore.c
- Timestamp:
- Dec 17, 2008, 12:59:22 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.8/mondo/src/mondorestore/mondorestore.c
r2087 r2094 391 391 asprintf(&editor, "%s", find_my_editor()); 392 392 asprintf(&tmp1,"chroot %s %s /etc/multipath.conf", MNT_RESTORING, editor); 393 popup_and_OK("You will now edit multipath.conf"); 394 if (!g_text_mode) { 395 newtSuspend(); 396 } 393 397 paranoid_system(tmp1); 394 398 paranoid_free(tmp1); … … 630 634 } 631 635 636 clean_multiconf(); 632 637 if (ask_me_yes_or_no("Initialize the boot loader?")) { 633 638 run_boot_loader(TRUE); … … 639 644 640 645 clean_blkid(); 641 clean_multiconf();642 646 protect_against_braindead_sysadmins(); 643 647 retval += unmount_all_devices(mountlist); … … 867 871 iamhere("Restoring everything"); 868 872 retval += restore_everything(NULL); 873 clean_multiconf(); 869 874 if (!run_boot_loader(FALSE)) { 870 875 log_msg(1, … … 873 878 } 874 879 clean_blkid(); 875 clean_multiconf();876 880 protect_against_braindead_sysadmins(); 877 881 retval += unmount_all_devices(mountlist); … … 2818 2822 bool run_postnuke = FALSE; 2819 2823 2820 /**************************************************************************2821 * hugo- *2822 * busy stuff here - it needs some comments -stan *2823 * *2824 **************************************************************************/2825 2824 if (getuid() != 0) { 2826 2825 fprintf(stderr, "Please run as root.\r\n");
Note:
See TracChangeset
for help on using the changeset viewer.