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 <peter@rulingia.com>
Relnotes: yes
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
Enji Cooper 2015-11-02 01:05:34 +00:00
parent 0c646040e8
commit 2a923f8f3c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=290252
5 changed files with 8 additions and 7 deletions

View file

@ -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

View file

@ -115,8 +115,8 @@ daily_status_network_enable="YES" # Check network status
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

View file

@ -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%% *}" ]

View file

@ -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"

View file

@ -6517,8 +6517,7 @@ OLD_FILES+=usr/share/man/man8/repquota.8.gz
.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