Changeset 43428


Ignore:
Timestamp:
02/03/19 21:22:15 (5 years ago)
Author:
obi
Message:

fix webif onlineupdate listing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/httpdfunc.h

    r41783 r43428  
    56775677                buf = ostrcat(buf, "<br><br>", 1, 0);
    56785678        }
    5679 
     5679#ifdef OEBUILD
     5680                if(mode == 0)
     5681                        tmpstr = command("ls -1 /tmp/online | grep '.nfi\|.zip\|.img' | sort -r");
     5682                else
     5683                {
     5684                        if(file_exist("/var/backup"))
     5685                                tmpstr = command("ls -1 /var/backup/ | grep '.nfi\|.zip\|.img' | sort -r");
     5686                        else
     5687                                tmpstr = command("ls -1 /tmp | grep '.nfi\|.zip\|.img' | sort -r");
     5688                }
     5689#else
    56805690        if(checkrealbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1)
    56815691        {
     
    57145724                }
    57155725        }
    5716 
     5726#endif
    57175727        int count, i, max;
    57185728        count = 0;
Note: See TracChangeset for help on using the changeset viewer.