From owner-svn-src-head@freebsd.org Mon Nov 2 01:05:35 2015 Return-Path: Delivered-To: svn-src-head@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 D2C29A23B7D; Mon, 2 Nov 2015 01:05:35 +0000 (UTC) (envelope-from ngie@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 A02261579; Mon, 2 Nov 2015 01:05:35 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tA215Y5t095730; Mon, 2 Nov 2015 01:05:34 GMT (envelope-from ngie@FreeBSD.org) Received: (from ngie@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tA215YhV095725; Mon, 2 Nov 2015 01:05:34 GMT (envelope-from ngie@FreeBSD.org) Message-Id: <201511020105.tA215YhV095725@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ngie set sender to ngie@FreeBSD.org using -f From: Garrett Cooper Date: Mon, 2 Nov 2015 01:05:34 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r290252 - in head: . etc/defaults etc/periodic/daily tools/build/mk X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Nov 2015 01:05:36 -0000 Author: ngie Date: Mon Nov 2 01:05:34 2015 New Revision: 290252 URL: https://svnweb.freebsd.org/changeset/base/290252 Log: Rename etc/periodic/daily/430.status-rwho to periodic/daily/430.status-uptime The command was checking local/remote system uptime, so rename the script to match its function and to avoid confusion The controlling variable in /etc/periodic.conf has been renamed from daily_status_rwho_enable to daily_status_uptime_enable. MFC after: 3 days Reported by: Peter Jeremy Relnotes: yes Sponsored by: EMC / Isilon Storage Division Added: head/etc/periodic/daily/430.status-uptime - copied, changed from r290251, head/etc/periodic/daily/430.status-rwho Deleted: head/etc/periodic/daily/430.status-rwho Modified: head/ObsoleteFiles.inc head/etc/defaults/periodic.conf head/etc/periodic/daily/Makefile head/tools/build/mk/OptionalObsoleteFiles.inc Modified: head/ObsoleteFiles.inc ============================================================================== --- head/ObsoleteFiles.inc Mon Nov 2 00:42:31 2015 (r290251) +++ head/ObsoleteFiles.inc Mon Nov 2 01:05:34 2015 (r290252) @@ -38,6 +38,8 @@ # xargs -n1 | sort | uniq -d; # done +# 20151101: 430.status-rwho was renamed to 430.status-uptime +OLD_FILES+=etc/periodic/daily/430.status-rwho # 20151030: OpenSSL 1.0.2d import OLD_FILES+=usr/share/openssl/man/man3/CMS_set1_signer_certs.3.gz OLD_FILES+=usr/share/openssl/man/man3/EVP_PKEY_ctrl.3.gz Modified: head/etc/defaults/periodic.conf ============================================================================== --- head/etc/defaults/periodic.conf Mon Nov 2 00:42:31 2015 (r290251) +++ head/etc/defaults/periodic.conf Mon Nov 2 01:05:34 2015 (r290252) @@ -115,8 +115,8 @@ daily_status_network_enable="YES" # Ch daily_status_network_usedns="YES" # DNS lookups are ok daily_status_network_netstat_flags="-d" # netstat(1) flags -# 430.status-rwho -daily_status_rwho_enable="YES" # Check system status +# 430.status-uptime +daily_status_uptime_enable="YES" # Check system uptime # 440.status-mailq daily_status_mailq_enable="YES" # Check mail status Copied and modified: head/etc/periodic/daily/430.status-uptime (from r290251, head/etc/periodic/daily/430.status-rwho) ============================================================================== --- head/etc/periodic/daily/430.status-rwho Mon Nov 2 00:42:31 2015 (r290251, copy source) +++ head/etc/periodic/daily/430.status-uptime Mon Nov 2 01:05:34 2015 (r290252) @@ -11,7 +11,7 @@ then source_periodic_confs fi -case "$daily_status_rwho_enable" in +case "$daily_status_uptime_enable" in [Yy][Ee][Ss]) rwho=$(echo /var/rwho/*) if [ -f "${rwho%% *}" ] Modified: head/etc/periodic/daily/Makefile ============================================================================== --- head/etc/periodic/daily/Makefile Mon Nov 2 00:42:31 2015 (r290251) +++ head/etc/periodic/daily/Makefile Mon Nov 2 01:05:34 2015 (r290252) @@ -15,6 +15,7 @@ FILES= 100.clean-disks \ 408.status-gstripe \ 409.status-gconcat \ 420.status-network \ + 430.status-uptime \ 450.status-security \ 510.status-world-kernel \ 999.local @@ -38,8 +39,7 @@ FILES+= 480.status-ntpd .endif .if ${MK_RCMDS} != "no" -FILES+= 140.clean-rwho \ - 430.status-rwho +FILES+= 140.clean-rwho .endif .if ${MK_SENDMAIL} != "no" Modified: head/tools/build/mk/OptionalObsoleteFiles.inc ============================================================================== --- head/tools/build/mk/OptionalObsoleteFiles.inc Mon Nov 2 00:42:31 2015 (r290251) +++ head/tools/build/mk/OptionalObsoleteFiles.inc Mon Nov 2 01:05:34 2015 (r290252) @@ -6517,8 +6517,7 @@ OLD_FILES+=usr/share/man/man8/repquota.8 .if ${MK_RCMDS} == no OLD_FILES+=bin/rcp OLD_FILES+=etc/rc.d/rwho -OLD_FILES+=etc/periodic/daily/140.clean-rwho -OLD_FILES+=etc/periodic/daily/430.status-rwho +OLD_FILES+=etc/periodic/daily/140.clean-rwho OLD_FILES+=rescue/rcp OLD_FILES+=usr/bin/rlogin OLD_FILES+=usr/bin/rsh