chrony/examples
Miroslav Lichvar fca8966ada examples: replace grep command in NM dispatcher script
Some grep implementations detect binary data and return success without
matching whole line. This might be an issue for the DHCPv6 NTP FQDN
check. The GNU grep in the C locale seems to check only for the NUL
character, which cannot be passed in an environment variable, but other
implementations might behave differently and there doesn't seem to be a
portable way to force matching the whole line.

Instead of the grep command, check for invalid characters by comparing
the length of the input passed through "tr -d -c".
2022-03-23 15:36:17 +01:00
..
chrony-wait.service examples: harden systemd services 2021-09-29 15:56:55 +02:00
chrony.conf.example1 examples: improve configuration examples 2017-01-31 11:22:11 +01:00
chrony.conf.example2 doc+examples: update http links to https 2020-09-23 15:10:43 +02:00
chrony.conf.example3 examples: add leapsecmode to chrony.conf examples 2020-08-06 11:34:32 +02:00
chrony.keys.example examples: improve description in chrony.keys example 2018-09-12 11:38:08 +02:00
chrony.logrotate examples: update for removed cmdmon authentication 2015-08-26 10:19:33 +02:00
chrony.nm-dispatcher.dhcp examples: replace grep command in NM dispatcher script 2022-03-23 15:36:17 +01:00
chrony.nm-dispatcher.onoffline examples: handle more actions in NM dispatcher script 2022-02-07 17:04:19 +01:00
chronyd.service examples: improve chronyd service 2021-10-04 10:54:40 +02:00