summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/LinHES-system/LinHES-run
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2010-06-23 21:07:53 (GMT)
committerBritney Fransen <brfransen@gmail.com>2010-06-23 21:07:53 (GMT)
commitd5cb4ddcb4a1eeb2c48e45b949bebea50d9d92ca (patch)
tree6b7c25cc049fc60e31d73a37ed33cc8f1acd6f76 /abs/core-testing/LinHES-system/LinHES-run
parent1c934c370d8bf6e981bf162d0da352e221f3c135 (diff)
downloadlinhes_pkgbuild-d5cb4ddcb4a1eeb2c48e45b949bebea50d9d92ca.zip
linhes_pkgbuild-d5cb4ddcb4a1eeb2c48e45b949bebea50d9d92ca.tar.gz
linhes_pkgbuild-d5cb4ddcb4a1eeb2c48e45b949bebea50d9d92ca.tar.bz2
LinHES-system: Update LinHES-run, mythbackup and mythrestore to use osd_cat.cfg
Diffstat (limited to 'abs/core-testing/LinHES-system/LinHES-run')
-rwxr-xr-x[-rw-r--r--]abs/core-testing/LinHES-system/LinHES-run20
1 files changed, 14 insertions, 6 deletions
diff --git a/abs/core-testing/LinHES-system/LinHES-run b/abs/core-testing/LinHES-system/LinHES-run
index aa2c3bd..d5a3a15 100644..100755
--- a/abs/core-testing/LinHES-system/LinHES-run
+++ b/abs/core-testing/LinHES-system/LinHES-run
@@ -1,14 +1,22 @@
#!/bin/sh
function msg(){
- echo -e "$1" | osd_cat --font="-adobe-helvetica-bold-*-*-*-34-*-*-*-*-*-*-*" --shadow=3 --pos=middle --align=centre --offset=200 --color=yellow --delay=5 &
-
+ echo -e "$1" | osd_cat --pos=middle --align=center --offset=200 --delay=5 --color=$color --outline=$outline --outlinecolour=$outlinecolour --shadow=$shadow --shadowcolour=$shadowcolour --font=$font &
}
. /etc/profile
. /etc/systemconfig
-idle=1
-jitter=200
-. /etc/unclutter.cfg
+. /etc/unclutter.cfg || {
+ idle=1
+ jitter=200
+}
+. /etc/osd_cat.cfg || {
+ color=yellow
+ outline=2
+ outlinecolour=black
+ shadow=0
+ shadowcolour=black
+ font="-adobe-helvetica-bold-*-*-*-34-*-*-*-*-*-*-*"
+}
#keylaunch &
#/usr/bin/tilda &
@@ -30,7 +38,7 @@ mtd &
if [ x$ShowTips = "x1" ]
then
- echo "Alt+h for help" | osd_cat --font="-adobe-helvetica-bold-*-*-*-34-*-*-*-*-*-*-*" --shadow=3 --pos=middle --align=centre --offset=200 --color=yellow --delay=5 &
+ msg "Alt+h for help" &
fi
# Run any scripting that applies to special hardware. These brand-specific commands that run