Author: pebender
Date: Thu Jan 15 13:37:13 2009
New Revision: 4250

Modified:
    trunk/gar-minimyth/html/minimyth/document-changelog.txt
     
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d.sh/init.d/backend
     
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/backend.pm

Log:
- Modified the backend init script so that it logs the output of
   mythbackend in /var/log/messages.



Modified: trunk/gar-minimyth/html/minimyth/document-changelog.txt
==============================================================================
--- trunk/gar-minimyth/html/minimyth/document-changelog.txt     (original)
+++ trunk/gar-minimyth/html/minimyth/document-changelog.txt     Thu Jan 15  
13:37:13 2009
@@ -22,6 +22,8 @@
      - Added MM_BACKEND_TUNER_FIRMWARE_FILE_LIST.
      - Added 'Configure Slave Backend' item to 'MiniMyth Tools' for lauching
        'mythtv-setup'.
+    - Modified the backend init script so that it logs the output of
+      mythbackend in /var/log/messages.

  Modified MythTV
      - Enabled IVTV support in MythTV backend.
@@ -98,6 +100,8 @@
      Updated disk/hdparm.
      Updated gtk/glib.
      Updated gtk/gtk+.
+    Updated lib/freetype.
+    Updated perl/perl-libwww-perl.
      Reverted system/lcdproc (breaks imonlcd).
      Updated xorg-7.3/xf86-video-intel.
      Updated xorg-7.3/libdrm.

Modified:  
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d.sh/init.d/backend
==============================================================================
---  
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d.sh/init.d/backend
   
(original)
+++  
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d.sh/init.d/backend
   
Thu Jan 15 13:37:13 2009
@@ -12,7 +12,7 @@
          mm_message_output info "starting MythTV backend ..."

          if /usr/bin/test -e '/usr/bin/mythbackend' ; then
-            /bin/su -c "/usr/bin/mythbackend --daemon" - minimyth
+            /bin/su -c "/usr/bin/mythbackend --daemon 2>&1 |  
/usr/bin/logger -t mythbackend -p local0.info" - minimyth
          else
              mm_message_output err "error: '/usr/bin/mythbackend' not  
found."
          fi

Modified:  
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/backend.pm
==============================================================================
---  
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/backend.pm
     
(original)
+++  
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/init/backend.pm
     
Thu Jan 15 13:37:13 2009
@@ -19,7 +19,7 @@

          if (-x '/usr/bin/mythbackend')
          {
-            system(qq(/bin/su -c "/usr/bin/mythbackend --daemon" -  
minimyth));
+            system(qq(/bin/su -c "/usr/bin/mythbackend --daemon 2>&1 |  
/usr/bin/logger -t mythbackend -p local0.info" - minimyth));
          }
          else
          {

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"minimyth-commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/minimyth-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to