Changeset 3225 in MondoRescue for branches/3.2/mondo


Ignore:
Timestamp:
Dec 30, 2013, 10:46:31 AM (10 years ago)
Author:
Bruno Cornec
Message:
  • Remove FAILSAFE mentions in mondo and its doc as well (feature was already disabled)
Location:
branches/3.2/mondo/src/common
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mondo/src/common/libmondo-cli.c

    r3205 r3225  
    663663    if ((flag_set['k']) && (! bkpinfo->restore_data)) {
    664664        strncpy(bkpinfo->kernel_path, flag_val['k'], MAX_STR_LEN);
    665         if (!strcmp(bkpinfo->kernel_path, "failsafe")) {
    666             strcpy(bkpinfo->kernel_path, "FAILSAFE");
    667         }
    668         if (strcmp(bkpinfo->kernel_path, "FAILSAFE")
    669             && !does_file_exist(bkpinfo->kernel_path)) {
     665        if (!does_file_exist(bkpinfo->kernel_path)) {
    670666            retval++;
    671667            log_to_screen("You specified kernel '%s', which does not exist\n", bkpinfo->kernel_path);
  • branches/3.2/mondo/src/common/libmondo-tools.c

    r3205 r3225  
    940940        run_program_and_log_output("modprobe brd 2> /dev/null > /dev/null",FALSE);
    941941        if (run_program_and_log_output("grep ramdisk /proc/devices", FALSE)) {
    942             if (!ask_me_yes_or_no("Your kernel has no ramdisk support. That's mind-numbingly stupid but I'll allow it if you're planning to use a failsafe kernel. Are you?")) {
     942            if (!ask_me_yes_or_no("Your kernel has no ramdisk support. That's mind-numbingly stupid but I'll allow it if you're planning to use another kernel. Are you?")) {
    943943                //          retval++;
    944944                log_to_screen("It looks as if your kernel lacks ramdisk and initrd support.");
  • branches/3.2/mondo/src/common/mondostructures.h

    r3191 r3225  
    548548
    549549  /**
    550    * Path to the user's kernel, or "FAILSAFE" or "SUCKS" to use the kernel
    551    * included with Mindi.
     550   * Path to the user's kernel
    552551   */
    553552    char kernel_path[MAX_STR_LEN];
Note: See TracChangeset for help on using the changeset viewer.