Changeset 15543


Ignore:
Timestamp:
05/07/12 14:38:32 (11 years ago)
Author:
obi
Message:

fix

Location:
titan/titan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/global.h

    r15542 r15543  
    2121int checkreseller()
    2222{
    23         if(checkbox("ATEMIO510") == 0)
    24         {
    25                 printf("ResellerId: skipped\n");
    26                 printf("boxtype: %s\n", status.boxtype);       
    27                 return 0;
    28         }
     23//      if(checkbox("ATEMIO510") == 0)
     24//      {
     25//              printf("ResellerId: skipped\n");
     26//              printf("boxtype: %s\n", status.boxtype);       
     27//              return 0;
     28//      }
    2929       
    3030        FILE* fd = NULL;
  • titan/titan/titan.c

    r15506 r15543  
    433433        {
    434434                if(ostrcmp(string_newline(gettimeinfo()), TIMECODE) == 1)
    435                 {       
     435                {
     436                        printf("error: 1\n");
    436437                        destroy();
    437438                        exit(100);
     
    439440                if(ostrcmp(string_newline(gettimeinfovar()), TIMECODE) == 1)
    440441                {
     442                        printf("error: 2\n");           
    441443                        destroy();
    442444                        exit(100);
     
    444446                if(checkreseller() != 0)
    445447                {
     448                        printf("error: 3\n");           
    446449                        destroy();
    447450                        exit(100);
     
    449452                if(getsysinfo() != SYSCODE)
    450453                {
     454                        printf("error: 4\n");           
    451455                        destroy();
    452456                        exit(100);
     
    454458                if(file_exist("/mnt/swapextensions/etc/.vnumber") == 1)
    455459                {
     460                        printf("error: 5\n");           
    456461                        destroy();
    457462                        exit(100);
     
    459464                if(checkflash() != 0)
    460465                {
     466                        printf("error: 6\n");           
    461467                        destroy();
    462468                        exit(100);
Note: See TracChangeset for help on using the changeset viewer.