summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-system/linhes_update3.sh
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2013-09-16 16:05:36 (GMT)
committerBritney Fransen <brfransen@gmail.com>2013-09-16 16:05:36 (GMT)
commitab5cfcecea2c03037d5829f7cc8f19153b25b343 (patch)
treeda8cc655235914ad2388f9de8092427517de9298 /abs/core/LinHES-system/linhes_update3.sh
parent5c0d20865c3464770242bbe2a7594e81b067d635 (diff)
downloadlinhes_pkgbuild-ab5cfcecea2c03037d5829f7cc8f19153b25b343.zip
linhes_pkgbuild-ab5cfcecea2c03037d5829f7cc8f19153b25b343.tar.gz
linhes_pkgbuild-ab5cfcecea2c03037d5829f7cc8f19153b25b343.tar.bz2
LinHES-system: linhes_update*: update to use msg_client.py
Diffstat (limited to 'abs/core/LinHES-system/linhes_update3.sh')
-rw-r--r--abs/core/LinHES-system/linhes_update3.sh28
1 files changed, 0 insertions, 28 deletions
diff --git a/abs/core/LinHES-system/linhes_update3.sh b/abs/core/LinHES-system/linhes_update3.sh
deleted file mode 100644
index 72641db..0000000
--- a/abs/core/LinHES-system/linhes_update3.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/bash
-#----------------------------------------------------------------------------
-. /etc/osd_cat.cfg || {
- color=yellow
- outline=2
- outlinecolour=black
- shadow=0
- shadowcolour=black
- font="-adobe-helvetica-bold-*-*-*-34-*-*-*-*-*-*-*"
-}
-#----------------------------------------------------------------------------
-
-sudo killall osd_cat
-cat /tmp/to_be_upgraded | sed 's/ /\n/g' | sed '/^$/d' | grep - > /tmp/to_be_upgraded2
-COUNT=$(wc -l /tmp/to_be_upgraded2 | awk '{print $1}')
-if [ $COUNT -lt 20 ]
- then
- cat /tmp/to_be_upgraded2 | osd_cat --lines=20 --pos=top --align=center --delay=12 --color=$color --outline=$outline --outlinecolour=$outlinecolour --shadow=$shadow --shadowcolour=$shadowcolour --font=$font &
- else
- cat /tmp/to_be_upgraded2 | osd_cat --lines=20 --pos=top --align=center --delay=1 --wait --color=$color --outline=$outline --outlinecolour=$outlinecolour --shadow=$shadow --shadowcolour=$shadowcolour --font=$font &
-fi
-if grep kernel26 /tmp/to_be_upgraded2
-then
- killall -9 osd_cat
- echo -e "Please note:\The kernel will be upgraded.\nThis will require a reboot.\nPlease do so when no jobs are running." | osd_cat --pos=middle --align=center --delay=10 --color=$color --outline=$outline --outlinecolour=$outlinecolour --shadow=$shadow --shadowcolour=$shadowcolour --font=$font
-else
- exit
-fi