Openwrt/package/base-files/files/etc
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
..
board.d
hotplug.d/net
init.d base-files: use hwclock --systz 2021-02-14 15:15:32 +01:00
iproute2
rc.button
sysctl.d
uci-defaults
banner
banner.failsafe
device_info
diag.sh
ethers
fstab
group
hosts
inittab
openwrt_release
openwrt_version
os-release
passwd
preinit
profile
protocols
rc.common base-files: fix backwards compatiblity of rc.common EXTRA_COMMANDS 2020-11-17 17:57:42 +01:00
rc.local
services
shadow
shells
shinit base-files: informative service command in /etc/shinit. service command shows services enabled/disabled and running status, when the service command is invoked with no/invalid arguments, like this: 2020-12-03 23:28:43 -10:00
sysctl.conf
sysupgrade.conf