diff options
author | Britney Fransen <brfransen@gmail.com> | 2012-09-05 00:58:34 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2012-09-05 00:58:34 (GMT) |
commit | 4f938e227ac669190de7632fb064d01a892ac3ad (patch) | |
tree | 4da5ca945a4d5e441817fb932b28cbe427129ca9 /abs/core/linhes-scripts/limit-mythcommflag.sh | |
parent | ef93372c8ce35aa6ca16c065cc3a64ae4f08d6d6 (diff) | |
download | linhes_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/limit-mythcommflag.sh')
-rwxr-xr-x | abs/core/linhes-scripts/limit-mythcommflag.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/abs/core/linhes-scripts/limit-mythcommflag.sh b/abs/core/linhes-scripts/limit-mythcommflag.sh index 5cd81bb..63a2872 100755 --- a/abs/core/linhes-scripts/limit-mythcommflag.sh +++ b/abs/core/linhes-scripts/limit-mythcommflag.sh @@ -48,8 +48,8 @@ cpulimit_pid=0 while true; do PROCCOMMFLAG=`pidof mythcommflag` if [ -n "${PROCCOMMFLAG}" ]; then - BACKENDCPU=`top -bn1u mythtv | grep -m 1 mythbackend | awk '{ print $9 }'` - FRONTENDCPU=`top -bn1u mythtv | grep -m 1 mythfrontend | awk '{ print $9 }'` + BACKENDCPU=`top -bn1u mythtv | grep -m 1 'mythbackend ' | awk '{ print $9 }'` + FRONTENDCPU=`top -bn1u mythtv | grep -m 1 'mythfrontend ' | awk '{ print $9 }'` if [ "$FRONTENDCPU" = "" ]; then FRONTENDCPU=0 fi |