OGN-receiver-RPI-image
OGN-receiver-RPI-image copied to clipboard
Add timezone as parameter in configuration file
This will allow the nightly reboot to occurs during night on all location.
Or this can be detected approximately from longitude value.
As a workaround,
in OGN-receiver.conf it is possible to set runAtBoot parameter to update the timezone and request cron service restart.
Example:
runAtBoot="$(timedatectl set-timezone Europe/Paris && service cron restart)" # Allow a specific script to be run at boot time
Europe/Paris needs to be replaced with your expected timezone.
Tips:
- to check current timezone settings:
timedatectl - to list all possible timezones:
timedatectl list-timezones - If you do not have command line access i put on the following link, list of available TZ: https://gist.githubusercontent.com/snip/448a3b6df2008328cadb9426c88f8493/raw/gistfile1.txt