diff options
author | James Meyer <james.meyer@operamail.com> | 2013-01-11 22:43:56 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2013-01-11 22:43:56 (GMT) |
commit | e1e5a06abef9b9b858d252e8709f5dc06416e032 (patch) | |
tree | f9f58f7d16510914f6dbd36c003f1e877ce60d65 /abs/core/LinHES-system | |
parent | e91a04796733c19b1fafab5ec974c4aeb11eca3c (diff) | |
download | linhes_pkgbuild-e1e5a06abef9b9b858d252e8709f5dc06416e032.zip linhes_pkgbuild-e1e5a06abef9b9b858d252e8709f5dc06416e032.tar.gz linhes_pkgbuild-e1e5a06abef9b9b858d252e8709f5dc06416e032.tar.bz2 |
LinHES-system: remove lh_message.sh..it's no longer used
Diffstat (limited to 'abs/core/LinHES-system')
-rw-r--r-- | abs/core/LinHES-system/lh_message.sh | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/abs/core/LinHES-system/lh_message.sh b/abs/core/LinHES-system/lh_message.sh deleted file mode 100644 index 3ac8132..0000000 --- a/abs/core/LinHES-system/lh_message.sh +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/bash -# This script is called by msd_daemon.py and used to display messages on the osd_cat -# May be called directly but best used through msg_daemon - - -MYTH_RUN_STATUS="1" -. /etc/profile -. /etc/systemconfig - - -if [ -e /etc/X11/WINDOWMANAGER ] -then - . /etc/X11/WINDOWMANAGER -fi - - -. /etc/osd_cat.cfg || { - color=yellow - outline=2 - outlinecolour=black - shadow=0 - shadowcolour=black - font="-adobe-helvetica-bold-*-*-*-34-*-*-*-*-*-*-*" -} - -function msg_osd(){ - DISPLAY=127.0.0.1:0 echo -e "$1" | DISPLAY=127.0.0.1:0 osd_cat --pos=middle --align=center --offset=200 --delay=5 --color=$color --outline=$outline --outlinecolour=$outlinecolour --shadow=$shadow --shadowcolour=$shadowcolour --font=$font -} - -function msg_pyosd(){ - DISPLAY=127.0.0.1:0 /usr/LH/bin/msg_osd.py -m "$1" -} - -function msg(){ - if [ x$STARTUP_STYLE = xenhanced ] - then - msg_pyosd "$1" - else - msg_osd "$1" - fi - -} - -if [ x"${@}" = x ] -then - echo "nothing to display" -else - msg "${@}" -fi |