From 0e7005fcc7483c01aa102fbea358c5ac65a48d62 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 6 Apr 2010 16:13:08 +0200 Subject: hello world --- plugins/alcd/scripts/activy | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 plugins/alcd/scripts/activy (limited to 'plugins/alcd/scripts/activy') diff --git a/plugins/alcd/scripts/activy b/plugins/alcd/scripts/activy new file mode 100644 index 0000000..6613f4c --- /dev/null +++ b/plugins/alcd/scripts/activy @@ -0,0 +1,22 @@ +#!/bin/sh +# debian init script /etc/init.d/activy for activy +# modified for x-vdr +source /etc/default/vdr + +[ "$alcd" = "on" ] || exit + +case "$1" in + start) + echo "Setting activy keys and display" + $VDRSCRIPTDIR/activy_msg.sh "Starting system ..." "" + $VDRSCRIPTDIR/activy.sh + ;; + stop) + echo "Clear activy display" + $VDRSCRIPTDIR/activy_pb.sh + $VDRSCRIPTDIR/activy_msg.sh "" "" + printf "\xF0\xFF" > /dev/ttyS0 + ;; +esac + +exit 0 -- cgit v1.2.3