Changeset 43702 for titan


Ignore:
Timestamp:
04/03/19 20:45:34 (5 years ago)
Author:
gost
Message:

fix time

Location:
titan
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • titan/oealliance/var/etc/autostart/start.sh

    r43600 r43702  
    5555# dm7020hdv2 ok
    5656#               (ntpdate -b ptbtime1.ptb.de; time=`date +%s`; echo -e `expr $time + 7200`  > /proc/stb/fp/rtc) &
    57                 ntpdate -b ptbtime1.ptb.de &
     57                (ntpdate -b ptbtime1.ptb.de; /bin/fake-hwclock save force) &
    5858}
    5959
  • titan/titan/global.h

    r43700 r43702  
    22582258#ifdef MIPSEL
    22592259                        setrtctimemips();
    2260                         if(file_exist("/bin/fake-hwclock"))
    2261                         {
    2262                                 system("/bin/fake-hwclock save force");
    2263                                 system("/bin/fake-hwclock load force");
    2264                         }
     2260//                      if(file_exist("/bin/fake-hwclock"))
     2261//                      {
     2262//                              system("/bin/fake-hwclock save force");
     2263//                              system("/bin/fake-hwclock load force");
     2264//                      }
    22652265#endif
    22662266                        status.timeupdatecount = 0;
  • titan/titan/titan.c

    r43700 r43702  
    575575//workaround fuer time im neuen Image
    576576timeokw = 1;
    577 #ifdef OEBUILD
    578         if(file_exist("/bin/fake-hwclock"))
    579         {
     577//#ifdef OEBUILD
     578//      if(file_exist("/bin/fake-hwclock"))
     579//      {
    580580                //printf("--> loesche fake-hwclock");
    581581                //system("opkg remove fake-hwclock --force-depends");
    582582                //oshutdown(2, 1);
    583                 timeokw = 0;
    584                 timeokz = 0;
    585         }
     583//              timeokw = 0;
     584//              timeokz = 0;
     585//      }
    586586//      if(getconfigint("nontpdate", NULL) == 0)
    587587//              system("(ntpdate -b ptbtime1.ptb.de; time=`date +%s`; echo -e `expr $time + 7200`  > /proc/stb/fp/rtc) &");
Note: See TracChangeset for help on using the changeset viewer.