Changeset 34349


Ignore:
Timestamp:
05/23/15 12:55:03 (9 years ago)
Author:
gost
Message:

fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/titan.c

    r33626 r34349  
    657657        ret = setaudiodelaybitstream(getconfig("audiodelaybitstream", NULL));
    658658        ret = addinetworkall(NULL);
    659  
     659  ret = system("df | grep titan");
    660660#ifndef SIMULATE
    661661        if(getconfigint("sos", NULL) == 0)
     
    679679                        exit(100);
    680680                }
    681                 if(getsysinfo() != SYSCODE)
    682                 {
    683                         printf("error: 4\n");           
    684                         destroy();
    685                         exit(100);
     681                if(ret > 0)
     682                {
     683                        if(getsysinfo() != SYSCODE)
     684                        {
     685                                printf("error: 4\n");           
     686                                destroy();
     687                                exit(100);
     688                        }
    686689                }
    687690                if(file_exist("/mnt/swapextensions/etc/.vnumber") == 1)
     
    691694                        exit(100);
    692695                }
    693                 if(checkflash() != 0)
    694                 {
    695                         printf("error: 6\n");           
    696                         destroy();
    697                         exit(100);
     696                if(ret > 0)
     697                {
     698                        if(checkflash() != 0)
     699                        {
     700                                printf("error: 6\n");           
     701                                destroy();
     702                                exit(100);
     703                        }
    698704                }
    699705                if((checkchipset("BCM7424") == 1 || checkchipset("BCM7358") == 1 || checkchipset("BCM7362") == 1 || checkbox("UFS913") == 1 || checkbox("SPARK") == 1 || checkbox("SPARK7162") == 1 || checkbox("IPBOX91") == 1 || checkbox("IPBOX900") == 1 || checkbox("IPBOX910") == 1 || checkbox("IPBOX9000") == 1) && checkhighflash() != 0)
Note: See TracChangeset for help on using the changeset viewer.