summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/linhes-scripts/linhes_update3.sh
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/linhes-scripts/linhes_update3.sh')
-rw-r--r--abs/core-testing/linhes-scripts/linhes_update3.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/abs/core-testing/linhes-scripts/linhes_update3.sh b/abs/core-testing/linhes-scripts/linhes_update3.sh
new file mode 100644
index 0000000..82722b8
--- /dev/null
+++ b/abs/core-testing/linhes-scripts/linhes_update3.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+if [ -s /tmp/to_be_upgraded ]
+ then
+ sudo killall osd_cat
+ cat /tmp/to_be_upgraded | osd_cat -p top -f"-adobe-courier-bold-*-*-*-34-*-*-*-*-*" -d 1 -A centre -l 20 -w
+ else
+ sudo killall osd_cat
+ echo -e "No updates at this time." | osd_cat -p middle -s 5 -f"-adobe-courier-bold-*-*-*-34-*-*-*-*-*" -d 5 -A centre &
+fi