Ignore:
Timestamp:
Feb 22, 2006, 12:58:02 PM (14 years ago)
Author:
bcornec
Message:

Applied Andree's patch to remove commercials :-)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/mondo/mondorestore/mondo-restore.c

    r296 r425  
    390390#include "mondo-rstr-tools-EXT.h"
    391391
    392 extern void success_message(void);
    393392extern void twenty_seconds_til_yikes(void);
    394393
     
    12241223            ("PC was restored successfully. Thank you for using Mondo Rescue.");
    12251224        log_to_screen
    1226             ("Please visit http://www.mondorescue.org and thank the dev team.");
     1225            ("Please visit our website at http://www.mondorescue.org for more information.");
    12271226    } else {
    1228 #ifdef FREELOADER
    1229         success_message();
    1230 #else
    1231         log_to_screen("PC was restored successfully!");
    1232 #endif
     1227        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.");
     1228        if (strstr(call_program_and_get_last_line_of_output("cat /proc/cmdline"), "restore") == NULL) {
     1229            popup_and_OK(tmp);
     1230        }
     1231        log_to_screen
     1232            ("Mondo has restored your system. Please remove the backup media and reboot.");
     1233        log_to_screen
     1234            ("Please visit our website at http://www.mondorescue.org for more information.");
    12331235    }
    12341236    g_I_have_just_nuked = TRUE;
Note: See TracChangeset for help on using the changeset viewer.