summaryrefslogtreecommitdiffstats
path: root/usr.sbin/freebsd-update
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2007-08-14 14:48:46 +0000
committercperciva <cperciva@FreeBSD.org>2007-08-14 14:48:46 +0000
commitcefa432e036afd5625a15a373d71aaf5c7e48058 (patch)
treec2511e069a784853ef7e741ee46cd43dc268a2b1 /usr.sbin/freebsd-update
parent8eaa9d1cddb5a0272426f71c483bd3245efb772a (diff)
downloadFreeBSD-src-cefa432e036afd5625a15a373d71aaf5c7e48058.zip
FreeBSD-src-cefa432e036afd5625a15a373d71aaf5c7e48058.tar.gz
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
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 a08517c..3c2ec9d 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
OpenPOWER on IntegriCloud