[mythtv-users] wait in mythbackend init script

Arun Khan knura9 at gmail.com
Sat Jan 5 10:25:03 UTC 2013


On Sat, Jan 5, 2013 at 6:32 AM, Josu Lazkano <josu.lazkano at gmail.com> wrote:

> I have a little problem with mythbackend init script in Debian MythTV system.
>
> Before start mythbackend on the boot time, I need to be sure that the
> DVB adapters are created correctly.
>
> How could I check that all my DVB adapters are created? Anyone has
> experience with the boot time init script
> (/etc/init.d/mythtv-backend)?
>

I suppose you could write a script that tests for the DVB adapters,
return success (return code=0) or error (return code > 0 ).
Invoke this script and depending on the return value continue with the
execution of the mythbackend script.

HTH
-- Arun Khan


More information about the mythtv-users mailing list