6 |
yum -e 0 -d 0 check-update > $TMP1 |
yum -e 0 -d 0 check-update > $TMP1 |
7 |
+# SME 8 EOL message |
+# SME 8 EOL message |
8 |
+DATE=$(date +%Y%m%d) |
+DATE=$(date +%Y%m%d) |
9 |
+if [ $DATE -ge "20170331" ]; then |
+if [ $DATE -ge "20201130" ]; then |
10 |
+ echo -e "===\n=== URGENT NOTICE:">> $TMPFILE |
+ echo -e "===\n=== URGENT NOTICE:">> $TMPFILE |
11 |
+ echo -e "=== As per November 30rd 2020, SME Server 9 is obsolete, and potentially INSECURE.">> $TMPFILE |
+ echo -e "=== As per November 30rd 2020, SME Server 9 is obsolete, and potentially INSECURE.">> $TMPFILE |
12 |
+ echo -e "=== Failure to upgrade may lead to the compromise of this server.">> $TMPFILE |
+ echo -e "=== Failure to upgrade may lead to the compromise of this server.">> $TMPFILE |