From ccc6c7b4bdc0f0a96d395205e07e9066018a5a1c Mon Sep 17 00:00:00 2001 From: xyz Date: Wed, 26 Jan 2022 18:30:13 -0800 Subject: chrony.conf, use rtconutc and use offline for ntp pool --- etc/chrony.conf | 5 +++-- 1 file 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 -- cgit v1.2.3-70-g09d2