openwrt/package/base-files/files
Rosen Penev 157cd0bd97 base-files: use hwclock --systz
The date -k patch is non standard and will be removed in the next
commit.

Tested behavior to be identical with a simple C program:

 #define _GNU_SOURCE
 #include <unistd.h>
 #include <stdio.h>
 #include <sys/time.h>
 #include <sys/syscall.h>

int main()
{
        struct timezone tt;
	struct timezone tz;

        int a = syscall(SYS_gettimeofday, NULL, &tt);
        int b = gettimeofday(NULL, &tz);
        printf("%d - %d, %d\n", a, tt.tz_minuteswest, tt.tz_dsttime);
        printf("%d - %d, %d\n", b, tz.tz_minuteswest, tz.tz_dsttime);
}

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-02-14 15:15:32 +01:00
..
bin base-files: allow setting device and bridge macs 2020-12-02 07:51:36 +01:00
etc base-files: use hwclock --systz 2021-02-14 15:15:32 +01:00
lib base-files: remove execute bit and shebang from functions.sh 2021-01-29 14:30:32 +01:00
rom rename default/ to files/ 2006-11-22 23:30:57 +00:00
sbin base-files: wifi: add support for 802.11ad 2021-01-05 02:16:24 +00:00
usr base-files: validate firmware for compatibility with backup 2019-09-08 09:10:30 +02:00