summaryrefslogtreecommitdiffstats
path: root/abs/core/linhes-scripts/LinHES-osd
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2012-07-29 20:57:52 (GMT)
committerCecil <knoppmyth@gmail.com>2012-07-29 20:57:52 (GMT)
commitdded86a4a063bbb25b68ccbed9ed21836cba912f (patch)
tree9d3a5bfefb26814359a7441e007676b310c90c0b /abs/core/linhes-scripts/LinHES-osd
parent4e1a5ca0eb48a0b32731542069579edb826492ab (diff)
downloadlinhes_pkgbuild-dded86a4a063bbb25b68ccbed9ed21836cba912f.zip
linhes_pkgbuild-dded86a4a063bbb25b68ccbed9ed21836cba912f.tar.gz
linhes_pkgbuild-dded86a4a063bbb25b68ccbed9ed21836cba912f.tar.bz2
linhes-scripts:Added scripts to backup one's DVD.
Diffstat (limited to 'abs/core/linhes-scripts/LinHES-osd')
-rwxr-xr-xabs/core/linhes-scripts/LinHES-osd19
1 files changed, 19 insertions, 0 deletions
diff --git a/abs/core/linhes-scripts/LinHES-osd b/abs/core/linhes-scripts/LinHES-osd
new file mode 100755
index 0000000..85f4a40
--- /dev/null
+++ b/abs/core/linhes-scripts/LinHES-osd
@@ -0,0 +1,19 @@
+#!/bin/bash
+# /usr/local/bin/KnoppMyth-osd
+# A script to put up text for on screen.
+#
+########################################################################
+FONT="-adobe-helvetica-bold-r-*-*-34-*-*-*-*-*-*-*" # Default
+OPTS="-f $FONT -s 2 -p bottom -A left -i 50 -l 5" # values.
+#-----------------------------------------------------------------------
+[ -r /etc/rip.cfg ] && . /etc/rip.cfg
+########################################################################
+# $1=text, $2=color, $3=delay.
+JUNK=$(killall osd_cat >& /dev/null)
+color='' ; delay=''
+[ -z "$1" ] && exit 0
+[ -n "$2" ] && color="--color=$2"
+[ -n "$3" ] && delay="--delay=$3"
+JUNK=$(echo -e "$1" | osd_cat $OPTS $color $delay &)
+########################################################################
+# End