Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 790 Bytes

timezone.md

File metadata and controls

40 lines (32 loc) · 790 Bytes
title layout parent nav_order
Timezone
page
Configuring
6

Timezone

{: .no_toc }

Contents:

{: .no_toc }

  • TOC {:toc}

Change timezone

To change the timezone, execute sudo dpkg-reconfigure tzdata.

It is also possible to run armbian-config and change the timezon in the "Localisation" menu.

Sovol image: Timezone updates spamming syslog

Edit /root/set-timezone.sh (around line 33), replace unconditional sleep 3 so it sleeps 1 hour, once it received a valid time via NTP:

    current_time=$(date)
    echo "当前时间: $current_time"

    # 延时5秒
#TM#    sleep 3
#TM-->
        if ! $synced ; then
          sleep 3
        else
          sleep 3600
        fi
#TM<--

        if ! $synced; then