diff options
| author | root <root@elwms02.(none)> | 2010-04-06 16:13:08 +0200 |
|---|---|---|
| committer | root <root@elwms02.(none)> | 2010-04-06 16:13:08 +0200 |
| commit | 0e7005fcc7483c01aa102fbea358c5ac65a48d62 (patch) | |
| tree | 11517ce0d3d2977c6732b3aa583b0008083e0bd3 /vdr/scripts/x-lcd | |
| download | x-vdr-0e7005fcc7483c01aa102fbea358c5ac65a48d62.tar.gz x-vdr-0e7005fcc7483c01aa102fbea358c5ac65a48d62.tar.bz2 | |
hello world
Diffstat (limited to 'vdr/scripts/x-lcd')
| -rw-r--r-- | vdr/scripts/x-lcd | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/vdr/scripts/x-lcd b/vdr/scripts/x-lcd new file mode 100644 index 0000000..ef28a7c --- /dev/null +++ b/vdr/scripts/x-lcd @@ -0,0 +1,26 @@ +#! /bin/sh +# /etc/init.d/x-lcd + +# Load VDR configuration +. /etc/default/vdr + +STARTLOGO=$VDRCONFDIR/plugins/graphlcd/splash/start +STOPLOGO=$VDRCONFDIR/plugins/graphlcd/splash/stop + +case "$1" in + start) + echo "Displaying Startlogo" + /usr/bin/showpic -c /etc/graphlcd.conf -d ks0108 -s 200 $(ls $STARTLOGO/*.glcd) & + ;; + stop) + echo "Displaying Shutdownlogo" + /usr/bin/showpic -c /etc/graphlcd.conf -d ks0108 -s 200 $(ls $STOPLOGO/*.glcd) & + ;; + *) + echo "Usage: /etc/init.d/x-lcd {start|stop}" + exit 1 + ;; +esac + +exit 0 + |
