LinHES Forums http://forums.linhes.org/ |
|
changing channels on the Motorlola DCT-2000 http://forums.linhes.org/viewtopic.php?f=1&t=133 |
Page 1 of 1 |
Author: | julian23 [ Mon Nov 17, 2003 11:12 pm ] |
Post subject: | changing channels on the Motorlola DCT-2000 |
Does anybody have any advice about how ro get changechannel.sh to run with Knoppix? I implemented MythTV on RH9 and everything worked pretty well, including the changechannel.sh script (written by Ian Forde). I then upgraded to Knoppix but I am unable to get the script working. It complains of an "unexpected end of file". The script is #!/bin/sh # Change Channel Script Wrapper for DCT-2000 # written by Ian Forde # License: GPL. If you don't know what that is, # you can look it up! PARM=$1 PARMLEN=`echo $PARM | wc -c` if [ ${PARMLEN} -gt 4 ]; then echo "too high." exit elif [ ${PARMLEN} -eq 4 ]; then newparm=${PARM} elif [ ${PARMLEN} -eq 3 ]; then newparm="0"${PARM} elif [ ${PARMLEN} -eq 2 ]; then newparm="00"${PARM} fi /usr/local/bin/remote.py ${newparm} |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |