openwrt/package/base-files
Rosen Penev 8a99411c55 base-files: fix zoneinfo support
The system init script currently sets /tmp/localinfo when zoneinfo is
populated. However, zoneinfo has spaces in it whereas the actual files
have _ instead of spaces. This made the if condition never return true.

Example failure when removing the if condition:

/tmp/localtime -> /usr/share/zoneinfo/America/Los Angeles

This file does not exist. America/Los_Angeles does.

Ran through shfmt -w -ci -bn -sr -s

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: maurerr <mariusd84@gmail.com>
2021-09-01 08:08:15 +00:00
..
files base-files: fix zoneinfo support 2021-09-01 08:08:15 +00:00
image-config.in treewide: fix spelling 'seperate' -> 'separate' 2021-09-01 08:07:44 +00:00
Makefile busybox: preserve crontabs 2021-09-01 08:08:07 +00:00