summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-11-01 08:28:08 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-11-01 08:28:08 (GMT)
commit2667766d1a846af7052fb00dadec1c10d857292d (patch)
treed5704a3e78a6f62cdb8bf527e941eb4d51da7758
parent5cf92d8aefe4b13c45875278fdef9485ae1ed182 (diff)
downloadlinhes_pkgbuild-2667766d1a846af7052fb00dadec1c10d857292d.zip
linhes_pkgbuild-2667766d1a846af7052fb00dadec1c10d857292d.tar.gz
linhes_pkgbuild-2667766d1a846af7052fb00dadec1c10d857292d.tar.bz2
linhes-scripts:linhes_update3.sh, added message to warn user on kernel upgrades.
-rw-r--r--abs/core-testing/linhes-scripts/linhes_update3.sh6
1 files changed, 6 insertions, 0 deletions
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