diff options
author | xyz <gky44px1999@gmail.com> | 2022-01-26 18:30:13 -0800 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2022-01-26 18:30:13 -0800 |
commit | ccc6c7b4bdc0f0a96d395205e07e9066018a5a1c (patch) | |
tree | 3a982e2c5a40e0dcb5cd0183196cee0e3984d36c /etc/chrony.conf | |
parent | d88c60615073279d393150c52a73dfb86d862dcf (diff) |
chrony.conf, use rtconutc and use offline for ntp pool
Diffstat (limited to 'etc/chrony.conf')
-rw-r--r-- | etc/chrony.conf | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/chrony.conf b/etc/chrony.conf index c6f76715..a7fae543 100644 --- a/etc/chrony.conf +++ b/etc/chrony.conf @@ -31,7 +31,8 @@ ! server 1.arch.pool.ntp.org iburst ! server 3.arch.pool.ntp.org iburst -pool 2.arch.pool.ntp.org iburst +# I choose to use offline instead of auto_offline because: what if wifi connected but has no network? this seems happened a lot to me when modem is up but router is down +pool 2.arch.pool.ntp.org offline ####################################################################### ### AVOIDING POTENTIALLY BOGUS CHANGES TO YOUR CLOCK @@ -299,7 +300,7 @@ makestep 1.0 3 # that will work better if your RTC maintains local time. You take your # pick! -! rtconutc +rtconutc # By default chronyd assumes that the enhanced RTC device is accessed as # /dev/rtc. If it's accessed somewhere else on your system (e.g. you're |