CCR_Set_Timezone automatically detects the timezone using GeoIP and sets the timezone accordingly. Once the timezone has been set, ntp is used to set the correct date and time.
| Key | Description |
|---|---|
| available since | 2017-01 |
| package filename | ccr_set_timezone-xyz.deb |
| configuration | none |
| cron job | /etc/cron.d/ccr_set_timezone |
| script | /usr/bin/ccr_set_timezone.sh |
| example | sudo ccr_set_timezone.sh |
To install:
Then either reboot the device, or manually run the script:
/etc/timezone /usr/share/zoneinfo/ http://geoip.ubuntu.com/lookup