aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/freebsd-update
diff options
context:
space:
mode:
authorColin Percival <cperciva@FreeBSD.org>2007-08-14 14:48:46 +0000
committerColin Percival <cperciva@FreeBSD.org>2007-08-14 14:48:46 +0000
commit89b1456622747fc327293ddf51cbd332e05b3e90 (patch)
treec2511e069a784853ef7e741ee46cd43dc268a2b1 /usr.sbin/freebsd-update
parent179dc282b43c30908d990443deed11f36488f749 (diff)
downloadsrc-89b1456622747fc327293ddf51cbd332e05b3e90.tar.gz
src-89b1456622747fc327293ddf51cbd332e05b3e90.zip
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
Notes
Notes: svn path=/head/; revision=171838
Diffstat (limited to 'usr.sbin/freebsd-update')
-rw-r--r--usr.sbin/freebsd-update/freebsd-update.sh4
1 files 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