summaryrefslogtreecommitdiffstats
path: root/abs/core/linhes-scripts/pause-mythcommflag.sh
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2012-09-05 00:58:34 (GMT)
committerBritney Fransen <brfransen@gmail.com>2012-09-05 00:58:34 (GMT)
commit4f938e227ac669190de7632fb064d01a892ac3ad (patch)
tree4da5ca945a4d5e441817fb932b28cbe427129ca9 /abs/core/linhes-scripts/pause-mythcommflag.sh
parentef93372c8ce35aa6ca16c065cc3a64ae4f08d6d6 (diff)
downloadlinhes_pkgbuild-4f938e227ac669190de7632fb064d01a892ac3ad.zip
linhes_pkgbuild-4f938e227ac669190de7632fb064d01a892ac3ad.tar.gz
linhes_pkgbuild-4f938e227ac669190de7632fb064d01a892ac3ad.tar.bz2
LinHES-system: mythfrontend-start: revert fork of startcmd
Forking startcmd causes MythWelcome to act on remote keypresses when mythfrontend-start quits. linhes-scripts: pause-mythcommflag.sh: only look for 1 instance of mythfrontend. refs #847
Diffstat (limited to 'abs/core/linhes-scripts/pause-mythcommflag.sh')
-rwxr-xr-xabs/core/linhes-scripts/pause-mythcommflag.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/abs/core/linhes-scripts/pause-mythcommflag.sh b/abs/core/linhes-scripts/pause-mythcommflag.sh
index 4da808b..1db6db6 100755
--- a/abs/core/linhes-scripts/pause-mythcommflag.sh
+++ b/abs/core/linhes-scripts/pause-mythcommflag.sh
@@ -29,7 +29,7 @@ while true; do
PROCCOMMFLAG=`pidof mythcommflag`
if [ -n "${PROCCOMMFLAG}" ]
then
- FRONTENDCPU=`top -bn1u mythtv | grep mythfrontend | awk '{ print $9 }'`
+ FRONTENDCPU=`top -bn1u mythtv | grep -m 1 'mythfrontend ' | awk '{ print $9 }'`
if [ $COMMFLAGSTATE -eq 1 ]
then
CPUTHRESHOLD1=$CPUTHRESHOLD