blob: ef28a7c226bf8bceae27b7ccf432112cd44a7bdd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
|