From eef6735a9c5038dd41e63d744e07ba698a92ccf2 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Sun, 15 Apr 2012 13:07:08 -0500
Subject: LinHES-system: change frontend logging to use --syslog  -silence the
 grep for osd

---
 abs/core/LinHES-system/LinHES-run     | 3 ++-
 abs/core/LinHES-system/LinHES-session | 6 +++---
 abs/core/LinHES-system/PKGBUILD       | 8 ++++----
 3 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/abs/core/LinHES-system/LinHES-run b/abs/core/LinHES-system/LinHES-run
index 883bcda..0bb66ea 100755
--- a/abs/core/LinHES-system/LinHES-run
+++ b/abs/core/LinHES-system/LinHES-run
@@ -111,7 +111,8 @@ if [ x"$UseMythWelcome" = "x1" ]
 then
     STARTCMD="/usr/bin/mythwelcome"
 else
-    STARTCMD="/usr/bin/mythfrontend -d -l /var/log/mythtv/mythfrontend.log"
+    #STARTCMD="/usr/bin/mythfrontend -d -l /var/log/mythtv/mythfrontend.log"
+    STARTCMD="/usr/bin/mythfrontend -d --syslog local6"
 fi
 
 echo "====================================================================="
diff --git a/abs/core/LinHES-system/LinHES-session b/abs/core/LinHES-system/LinHES-session
index da2f14e..16705de 100755
--- a/abs/core/LinHES-system/LinHES-session
+++ b/abs/core/LinHES-system/LinHES-session
@@ -49,9 +49,9 @@ export MALLOC_CHECK_=0
 function delay_osd(){
     if [ x$STARTUP_STYLE = xmythvantage ]
     then
-        cmd="ps -ef | grep -v grep | grep xmsg.py"
+        cmd="ps -ef | grep -v grep | grep -q  xmsg.py"
     else
-        cmd="ps -ef | grep -v grep | grep osd_cat"
+        cmd="ps -ef | grep -v grep | grep -q osd_cat"
     fi
 
     eval $cmd
@@ -276,7 +276,7 @@ function start_myth() {
     then
         STARTCMD="/usr/bin/mythwelcome"
     else
-        STARTCMD="/usr/bin/mythfrontend -d -l /var/log/mythtv/mythfrontend.log"
+        STARTCMD="/usr/bin/mythfrontend -d --syslog local6"
     fi
 
     echo "====================================================================="
diff --git a/abs/core/LinHES-system/PKGBUILD b/abs/core/LinHES-system/PKGBUILD
index d53adee..d04a658 100644
--- a/abs/core/LinHES-system/PKGBUILD
+++ b/abs/core/LinHES-system/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=LinHES-system
 pkgver=2
-pkgrel=38
+pkgrel=42
 arch=('i686')
 MVDIR=$startdir/pkg/usr/LH
 BINDIR=$startdir/pkg/usr/bin
@@ -48,13 +48,13 @@ build() {
         mkdir $startdir/pkg/etc/logrotate.d
         cp $startdir/myth_mtc.lr $startdir/pkg/etc/logrotate.d
 }
-md5sums=('d6a564f3286590875874573107940908'
+md5sums=('e8a0e71dabadb5a860b4e113615c3071'
          '5881bdb43d578ec3a79d1f77ea58a3db'
          'a875ee97f86e46f34a741c2bc455f894'
          '76b2637cac0452b3acdbeeb4e8a5474b'
          'd1f27cb422010077c841376526fe46ea'
          '2ef9f945e034119f77d9b6beb17e4fa5'
-         '5c96527397a35519d72c78d6e3c8dbea'
+         'c1c5f68835afbb2bad5d5e6cec0fc1dc'
          '18a884a73344ff6eb74f63b49745e0f5'
          'dc3eef2a624754e16805d72bbe488b67'
          'dc0be354ce77ba2b89868fc29b942c43'
@@ -62,7 +62,7 @@ md5sums=('d6a564f3286590875874573107940908'
          'abe887472a170bd1a8e6da6a7b7e93e4'
          '752488eb8bfb672ce0e4c924f7faf3d1'
          'ba351b92e69bcaf26a9bf80417b09c3c'
-         '1d534843cc4e55fe4ce21c3e95e3f766'
+         '657fef69a1da2f6b6cfac97a9d1be043'
          '962a3e9eaba2d1466251b7ab0956705d'
          'd03aedeeeda0f5e9c1eb437411c88477'
          '94ce8f1d5085c0db7b267db8c2e9a3ff'
-- 
cgit v0.12

