1 |
jpp |
1.1 |
--- smeserver-yum-2.2.0/root/sbin/e-smith/check4updates.old 2008-10-07 10:25:45.000000000 -0400 |
2 |
|
|
+++ smeserver-yum-2.2.0/root/sbin/e-smith/check4updates 2017-03-25 19:15:47.000000000 -0400 |
3 |
|
|
@@ -7,6 +7,17 @@ |
4 |
|
|
MAILADDR=admin-yum |
5 |
|
|
|
6 |
|
|
+# SME 10 EOL message |
7 |
|
|
+DATE=$(date +%Y%m%d) |
8 |
|
|
+if [ $DATE -ge "20240630" ]; then |
9 |
|
|
+ echo -e "===\n=== URGENT NOTICE:">> $TMPFILE |
10 |
jpp |
1.3 |
+ echo -e "=== As per June 30th 2024, SME Server 10 is obsolete, and potentially INSECURE.">> $TMPFILE |
11 |
jpp |
1.1 |
+ echo -e "=== Failure to upgrade may lead to the compromise of this server.">> $TMPFILE |
12 |
|
|
+ echo -e "=== NO support will be offered for any issue found with this installed version.">> $TMPFILE |
13 |
|
|
+ echo -e "=== Please migrate IMMEDIATELY to Koozali SME Server 11 or higher version." >> $TMPFILE |
14 |
|
|
+ echo -e "=== Visit https://wiki.koozali.org/SME_Server:Download \n===" >> $TMPFILE |
15 |
|
|
+fi |
16 |
|
|
+ |
17 |
jpp |
1.2 |
yum -e 0 -d 0 check-update > $TMP1 |
18 |
jpp |
1.1 |
if [ $? = 100 ]; then |
19 |
|
|
echo -e "===\n=== yum reports available updates:\n===" >> $TMPFILE |
20 |
|
|
cat $TMP1 >> $TMPFILE |