Changeset 9119


Ignore:
Timestamp:
02/26/08 13:43:53 (5 years ago)
Author:
BrainSlayer
Message:

deal with both drivers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/httpd/modules/upgrade.c

    r9118 r9119  
    8585#ifdef HAVE_DIR400 
    8686    write_argv[2] = "linux"; 
     87#elif HAVE_WRK54G 
     88    write_argv[2] = "linux"; 
     89#elif HAVE_LS2 
     90    write_argv[2] = "linux"; 
    8791#elif defined(HAVE_FONERA) || defined(HAVE_WHRAG108) || defined(HAVE_LS2) || defined(HAVE_MERAKI) || defined(HAVE_CA8) || defined(HAVE_TW6600) || defined(HAVE_PB42) || defined(HAVE_LS5)  
    8892    write_argv[2] = "rootfs"; 
     
    9397  } 
    9498#ifdef HAVE_DIR400 
     99  eval ("fischecksum"); 
     100  if (url) 
     101    return eval ("write", url, "linux"); 
     102#elif HAVE_WRK54G 
     103  eval ("fischecksum"); 
     104  if (url) 
     105    return eval ("write", url, "linux"); 
     106#elif HAVE_LS2 
     107  eval ("fischecksum"); 
    95108  if (url) 
    96109    return eval ("write", url, "linux"); 
Note: See TracChangeset for help on using the changeset viewer.