Opened 13 years ago

Closed 13 years ago

#4100 closed patch (fixed)

Add check for mythtv-setup in mythshutdown

Reported by: Matthew Wire <devel@…> Owned by: paulh
Priority: minor Milestone: 0.21
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no


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.

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.
In other words we have run out of return values.

Attachments (1)

mythshutdown-checkForSetupRunning-23102007.diff (919 bytes) - added by Matthew Wire <devel@…> 13 years ago.

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by Matthew Wire <devel@…>

comment:1 Changed 13 years ago by paulh

Milestone: unknown0.21
Owner: changed from Isaac Richards to paulh

comment:2 Changed 13 years ago by paulh

Resolution: fixed
Status: newclosed

(In [14734]) Add a check for mythtv-setup running in mythshutdown --status.

Patch from Matthew Wire. Closes #4100.

Note: See TracTickets for help on using tickets.