diff options
author | James Meyer <james.meyer@operamail.com> | 2008-11-08 01:55:11 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2008-11-08 01:55:11 (GMT) |
commit | 6c8f178b6c8874623e780d2c049a49b780237654 (patch) | |
tree | 31cd168b3e87c9777dc1bcd5d57f4e806a3c97f7 /abs/core-testing/LinHES-config/templates/change_chan.sh | |
parent | 4287d6026a61f8760633574c059f6e2dead2619d (diff) | |
download | linhes_pkgbuild-6c8f178b6c8874623e780d2c049a49b780237654.zip linhes_pkgbuild-6c8f178b6c8874623e780d2c049a49b780237654.tar.gz linhes_pkgbuild-6c8f178b6c8874623e780d2c049a49b780237654.tar.bz2 |
rename live-installer to LinHES-config
Diffstat (limited to 'abs/core-testing/LinHES-config/templates/change_chan.sh')
-rwxr-xr-x | abs/core-testing/LinHES-config/templates/change_chan.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/abs/core-testing/LinHES-config/templates/change_chan.sh b/abs/core-testing/LinHES-config/templates/change_chan.sh new file mode 100755 index 0000000..5ad8765 --- /dev/null +++ b/abs/core-testing/LinHES-config/templates/change_chan.sh @@ -0,0 +1,19 @@ +#!/bin/sh +REMOTE_NAME=SA3250 +cmd="$1" + +case $cmd in + [0-9]*) + for digit in $(echo $1 | sed -e 's/./& /g'); do + irsend SEND_ONCE $REMOTE_NAME $digit + sleep 0.3 + # If things work OK with sleep 1, try this for faster channel changes: + # sleep 0.3 + done + ;; + + *) + irsend SEND_ONCE $REMOTE_NAME $cmd + ;; + esac +# /usr/bin/fix_audio.sh & |