to 5.2.2026 klo 17.54 Samuel Thibault ([email protected]) kirjoitti: > > Martin-Éric Racine, le jeu. 05 févr. 2026 17:21:40 +0200, a ecrit: > > +case "$METHOD" in > > +dhcp | static) > > + rdate -n $RDATEOPTIONS $NTPSERVER > > + ;; > > +*) > > I'm wondering if we shouldn't rather use a blacklist rather than a > whitelist. There are a lot of methods that make sense: bootp, tunnel, > ppp, etc. > > ntpsec's script just excludes the loopback and none methods.
That could also work (exit 0 if loopback or none, otherwise fetch time), although I'd be tempted to exclude manual as well. Martin-Éric

