- Timestamp:
- 04/03/19 20:45:34 (5 years ago)
- Location:
- titan
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/oealliance/var/etc/autostart/start.sh
r43600 r43702 55 55 # dm7020hdv2 ok 56 56 # (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) & 58 58 } 59 59 -
titan/titan/global.h
r43700 r43702 2258 2258 #ifdef MIPSEL 2259 2259 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 // } 2265 2265 #endif 2266 2266 status.timeupdatecount = 0; -
titan/titan/titan.c
r43700 r43702 575 575 //workaround fuer time im neuen Image 576 576 timeokw = 1; 577 #ifdef OEBUILD578 if(file_exist("/bin/fake-hwclock"))579 {577 //#ifdef OEBUILD 578 // if(file_exist("/bin/fake-hwclock")) 579 // { 580 580 //printf("--> loesche fake-hwclock"); 581 581 //system("opkg remove fake-hwclock --force-depends"); 582 582 //oshutdown(2, 1); 583 timeokw = 0;584 timeokz = 0;585 }583 // timeokw = 0; 584 // timeokz = 0; 585 // } 586 586 // if(getconfigint("nontpdate", NULL) == 0) 587 587 // 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.