<br><br><div><span class="gmail_quote">On 12/7/06, <b class="gmail_sendername">David Fishburn</b> <<a href="mailto:fishburn@ianywhere.com">fishburn@ianywhere.com</a>> wrote:<br>> I am happy to do this as well. First time user, how do you get a stack
<br>> trace and where do you submit it?<br> See <a href="http://www.mythtv.org/docs/mythtv-HOWTO-22.html#ss22.2">http://www.mythtv.org/docs/mythtv-HOWTO-22.html#ss22.2</a> <br><br>>Sounds like an excellent workaround.
<br>>Can you supply:<br>>1. Your entry in your lircrc<br>>2. If it calls a shell script, the contents of the shell script<br><br>begin<br>remote = grayHauppauge<br>prog = irexec<br>button = Power<br>repeat=1<br>
config=/opt/scripts/restart-frontend.sh >> /var/log/mythtv/restart.log 2>&1<br>end<br><br>restart-frontend.sh:<br>#!/bin/bash<br><br>num=$RANDOM<br> let "num2=$num%5"<br>sleep $num2<br><br>MYTHEXISTS=`/bin/ps -e | grep mythfrontend | grep -v grep | awk '{print $1}'`;
<br><br>if [ "$MYTHEXISTS" == "" ]; then<br> echo restart<br> /opt/scripts/mythfrontv.sh &<br>else<br> echo already running, button ignored<br>fi<br>renice -10 `/sbin/pidof mythfrontend`
<br><br><br>Enjoy!<br>Dave<br></span></div><br>