[mythtv-users] run script as root at startup

Johan.van der Kolk johan.van.der.kolk1 at telenet.be
Wed Aug 10 17:02:00 UTC 2011


On 08/10/2011 04:50 PM, mythtv . wrote:
>>    The really tricky part these days is that some distros like Ubuntu have
>> tried to dump init in general and are using alternatives like upstart. While
>> init scripts had their problems, they were widely used and well (enough)
>> understood.
> I agree! I had no end of trouble with a FE where mythtv would start
> before the wireless was connected. Ended up budging it with a delay in
> the mythftontend script before switching to being wired into a
> wireless bridge so I could shorten the delay as I couldn't control the
> order of thongs starting up
>
Encountered the same problem, specially since "network up" in upstart 
does not mean that the PC got an IP address, or even a working 
connection. My solution was not to start the FE until I had a successful 
ping to the router.


More information about the mythtv-users mailing list