fix dirpath issue
+ add again FallbackNTP in /etc/systemd/timesyncd.conf
This commit is contained in:
@ -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)
|
||||||
|
@ -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
|
||||||
|
Reference in New Issue
Block a user