Changeset 43667


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

opkg remove fake-hwclock

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/titan.c

    r43663 r43667  
    568568        printf("[%s] crontribut: %s\n", PROGNAME, CRONTRIBUT);
    569569
     570//workaround fuer time im neuen Image
     571timeokw = 1;
     572#ifdef OEBUILD
     573        if(file_exist("/bin/fake-hwclock"))
     574        {
     575                system("opkg remove fake-hwclock --force-depends");
     576                timeokw = 0;
     577        }
     578#endif
     579
    570580        sa.sa_handler = (void *)sighandler;
    571581        sigemptyset(&sa.sa_mask);
     
    10521062        //check to remove preinstalled tpk packages
    10531063        ret = tpkupdatepre();
    1054 //workaround fuer time im neuen Image
    1055 #ifdef OEBUILD
    1056         timeokw = 0;
    1057         if(file_exist("/bin/fake-hwclock"))
    1058         {
    1059                 system("/bin/fake-hwclock save");
    1060                 system("mv /bin/fake-hwclock /bin/fake-hwclock_test");
    1061         }
    1062 #else
    1063         timeokw = 1;
    1064 #endif
    10651064        addtimer(&checkdate, START, 2000, -1, NULL, NULL, NULL);
    10661065        if(checkbox("ATEMIO510") == 0)
Note: See TracChangeset for help on using the changeset viewer.