fff-timeserver: add 'zonename' to config

The timezone data is typically set by OpenWrt as a combination of
timezone and zonename. Add both values in our initialization, in
case we need them later.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
Adrian Schmutzler 2021-01-31 15:18:10 +01:00
parent 37695a1cfc
commit fd317c7a08
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=fff-timeserver
PKG_RELEASE:=3
PKG_RELEASE:=4
include $(INCLUDE_DIR)/package.mk

View File

@ -1,6 +1,7 @@
# No initialization here, this is done in configurehood
uci set "system.@system[0].timezone=CET-1CEST,M3.5.0,M10.5.0/3"
uci set system.@system[0].zonename='Europe/Berlin'
uci set system.@system[0].timezone='CET-1CEST,M3.5.0,M10.5.0/3'
uci commit system