From owner-svn-src-all@freebsd.org Thu Oct 8 08:55:09 2015 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 996189D1A1A; Thu, 8 Oct 2015 08:55:09 +0000 (UTC) (envelope-from des@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 654DBDAA; Thu, 8 Oct 2015 08:55:09 +0000 (UTC) (envelope-from des@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t988t8At078045; Thu, 8 Oct 2015 08:55:08 GMT (envelope-from des@FreeBSD.org) Received: (from des@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t988t8EM078044; Thu, 8 Oct 2015 08:55:08 GMT (envelope-from des@FreeBSD.org) Message-Id: <201510080855.t988t8EM078044@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: des set sender to des@FreeBSD.org using -f From: =?UTF-8?Q?Dag-Erling_Sm=c3=b8rgrav?= Date: Thu, 8 Oct 2015 08:55:08 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r289021 - head/etc/periodic/daily X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2015 08:55:09 -0000 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