Ignore:
Timestamp:
Feb 23, 2006, 4:09:24 PM (18 years ago)
Author:
bcornec
Message:

merge -r421:425 $SVN_M/branches/stable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mondo/mondo/mondorestore/mondo-restore.c

    r300 r426  
    392392#endif
    393393
    394 extern void success_message(void);
    395394extern void twenty_seconds_til_yikes(void);
    396395
     
    12261225            ("PC was restored successfully. Thank you for using Mondo Rescue.");
    12271226        log_to_screen
    1228             ("Please visit http://www.mondorescue.org and thank the dev team.");
     1227            ("Please visit our website at http://www.mondorescue.org for more information.");
    12291228    } else {
    1230 #ifdef FREELOADER
    1231         success_message();
    1232 #else
    1233         log_to_screen("PC was restored successfully!");
    1234 #endif
     1229        strcpy(tmp," Mondo has restored your system. Please remove the backup media and reboot.\n\nPlease visit our website at http://www.mondorescue.org for more information.");
     1230        if (strstr(call_program_and_get_last_line_of_output("cat /proc/cmdline"), "restore") == NULL) {
     1231            popup_and_OK(tmp);
     1232        }
     1233        log_to_screen
     1234            ("Mondo has restored your system. Please remove the backup media and reboot.");
     1235        log_to_screen
     1236            ("Please visit our website at http://www.mondorescue.org for more information.");
    12351237    }
    12361238    g_I_have_just_nuked = TRUE;
Note: See TracChangeset for help on using the changeset viewer.