forked from freifunk-franken/firmware
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:
parent
37695a1cfc
commit
fd317c7a08
|
@ -1,7 +1,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=fff-timeserver
|
PKG_NAME:=fff-timeserver
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=4
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
# No initialization here, this is done in configurehood
|
# 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
|
uci commit system
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue