mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
now, on tz change, xbmc saves the timezone directly into /storage/.cache/timezone in format: TIMEZONE=xx/yy defaults to UTC if not (yet) set (first boot)
15 lines
297 B
Desktop File
15 lines
297 B
Desktop File
[Unit]
|
|
Description=Setup Timezone data
|
|
Before=xbmc.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
Environment=TIMEZONE=UTC
|
|
EnvironmentFile=-/storage/.cache/timezone
|
|
ExecStart=/bin/ln -sf /usr/share/zoneinfo/${TIMEZONE} /var/run/localtime
|
|
RemainAfterExit=yes
|
|
StartLimitInterval=0
|
|
|
|
[Install]
|
|
WantedBy=xbmc.service
|