[mythtv-commits] Ticket #4100: Add check for mythtv-setup in mythshutdown

MythTV mythtv at cvs.mythtv.org
Tue Oct 23 16:49:08 UTC 2007


#4100: Add check for mythtv-setup in mythshutdown
-----------------------------------------------+----------------------------
 Reporter:  Matthew Wire <devel at mrwire.co.uk>  |       Owner:  ijr    
     Type:  patch                              |      Status:  new    
 Priority:  minor                              |   Milestone:  unknown
Component:  mythtv                             |     Version:  head   
 Severity:  medium                             |     Mlocked:  0      
-----------------------------------------------+----------------------------
 Adds a check for mythtv-setup in mythshutdown --status.  This means
 mythshutdown --check will return 1 when the backend is running and the
 backend won't trigger an idle shutdown when I'm running mythtv-
 setup.[[BR]]
 [[BR]]
 Since the maximum return value is 255 I have set it to always return 255
 if setup is running.  This means that if all the other checks return true
 it would incorrectly return true.  This is very unlikely unless you are
 already in a wakeup period and about to enter another one while at the
 same time doing all the other tasks.[[BR]]
 In other words we have run out of return values.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4100>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list