From 2667766d1a846af7052fb00dadec1c10d857292d Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Sun, 1 Nov 2009 01:28:08 -0700
Subject: linhes-scripts:linhes_update3.sh, added message to warn user on
 kernel upgrades.

---
 abs/core-testing/linhes-scripts/linhes_update3.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/abs/core-testing/linhes-scripts/linhes_update3.sh b/abs/core-testing/linhes-scripts/linhes_update3.sh
index 56e8612..e89f7a3 100644
--- a/abs/core-testing/linhes-scripts/linhes_update3.sh
+++ b/abs/core-testing/linhes-scripts/linhes_update3.sh
@@ -8,3 +8,9 @@ if [ $COUNT -lt 20 ]
 	else
 	cat /tmp/to_be_upgraded2 | osd_cat -p top -f"-adobe-courier-bold-*-*-*-34-*-*-*-*-*" -d 1 -A centre -l 20 -w
 fi
+if grep kernel26 /tmp/to_be_upgraded2
+then
+	echo -e "Please note:\The kernel will be upgraded.\nThis will require a reboot.\nPlease do so when no jobs are running." | osd_cat -p middle -s 5 -f"-adobe-courier-bould-*-*-*-34-*-*-*-*-*" -d 10 -A centre
+else
+	exit
+fi
-- 
cgit v0.12