From 89b1456622747fc327293ddf51cbd332e05b3e90 Mon Sep 17 00:00:00 2001 From: Colin Percival Date: Tue, 14 Aug 2007 14:48:46 +0000 Subject: [PATCH] Change the time of the first "EoL is coming soon, you should upgrade" warning from EoL minus 6 months to EoL minus 3 months, in order to increase the odds of there actually being a more recent release to which users can upgrade. (In particular, for releases which are only supported for 12 months, it's quite likely that the next release will occur between 6 and 9 months later.) Discussed with: kensmith Approved by: re (bmah) MFC after: 3 days --- usr.sbin/freebsd-update/freebsd-update.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/freebsd-update/freebsd-update.sh b/usr.sbin/freebsd-update/freebsd-update.sh index a08517ceaa40..3c2ec9d83ad6 100644 --- a/usr.sbin/freebsd-update/freebsd-update.sh +++ b/usr.sbin/freebsd-update/freebsd-update.sh @@ -1574,8 +1574,8 @@ fetch_warn_eol () { SINCEWARN=`expr ${NOWTIME} - ${LASTWARN}` TIMELEFT=`expr ${EOLTIME} - ${NOWTIME}` - # Don't warn if the EoL is more than 6 months away - if [ ${TIMELEFT} -gt 15768000 ]; then + # Don't warn if the EoL is more than 3 months away + if [ ${TIMELEFT} -gt 7884000 ]; then return 0 fi