Author: des Date: Thu Oct 8 08:55:08 2015 New Revision: 289021 URL: https://svnweb.freebsd.org/changeset/base/289021
Log: Add -n to the ntpq command line so it will show IP addresses instead of host names, which rarely fit in the available space. MFC after: 1 week Modified: head/etc/periodic/daily/480.status-ntpd Modified: head/etc/periodic/daily/480.status-ntpd ============================================================================== --- head/etc/periodic/daily/480.status-ntpd Thu Oct 8 08:30:40 2015 (r289020) +++ head/etc/periodic/daily/480.status-ntpd Thu Oct 8 08:55:08 2015 (r289021) @@ -18,7 +18,7 @@ case "$daily_status_ntpd_enable" in echo "" echo "NTP status:" - synchronized=$(ntpq -p | tee /dev/stderr | grep '^\*') + synchronized=$(ntpq -pn | tee /dev/stderr | grep '^\*') if [ -z "$synchronized" ]; then rc=1 fi _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"