fix dirpath issue

+ add again FallbackNTP in /etc/systemd/timesyncd.conf
This commit is contained in:
2025-04-04 16:06:46 +02:00
parent c5e6841718
commit 6908908d13
2 changed files with 2 additions and 2 deletions

View File

@ -402,7 +402,7 @@ def walk(action):
os.chdir(rootpath) os.chdir(rootpath)
for dirpath, _, files in os.walk('.'): for dirpath, _, files in os.walk('.'):
syspath = Path(dirpath[1:]) # remove leading '.' -> absolute path syspath = Path(dirpath[1:]) # remove leading '.' -> absolute path
action.dirpath = Path(dirpath) action.dirpath = dirpath = Path(dirpath)
action.syspath = syspath action.syspath = syspath
if files: if files:
match, mismatch, missing = filecmp.cmpfiles(dirpath, syspath, files) match, mismatch, missing = filecmp.cmpfiles(dirpath, syspath, files)

View File

@ -14,7 +14,7 @@
[Time] [Time]
NTP=pstime1.psi.ch pstime2.psi.ch pstime3.psi.ch NTP=pstime1.psi.ch pstime2.psi.ch pstime3.psi.ch
#FallbackNTP=0.debian.pool.ntp.org 1.debian.pool.ntp.org 2.debian.pool.ntp.org 3.debian.pool.ntp.org FallbackNTP=0.debian.pool.ntp.org 1.debian.pool.ntp.org 2.debian.pool.ntp.org 3.debian.pool.ntp.org
#RootDistanceMaxSec=5 #RootDistanceMaxSec=5
#PollIntervalMinSec=32 #PollIntervalMinSec=32
#PollIntervalMaxSec=2048 #PollIntervalMaxSec=2048