[mythtv-users] Mythtv start-up scripts

George Nassas gnassas at mac.com
Mon Oct 30 14:57:38 UTC 2006


On 30-Oct-06, at 6:30 AM, William Munson wrote:

> MLT wrote:
>> Any chance of an Ubuntu user just posting a copy of their startup  
>> script?
> Why not just put a entry in your rc.local file and let it start after
> all the other init stuff..

debian/ubuntu don't use rc.local, instead they run the scripts linked  
in /etc/rcS.d. That said, it's inappropriate to put a myth startup  
there since it'll be run even in a single-user bootup. The normal way  
is to put a script in /etc/init.d and place S&K softlinks to it in / 
etc/rc[0-6].d.

I assume the OP is building from source as the packages install such  
a script and make the required links to it. Quickest approach is to  
download the source for the mythtv-backend package, copy the mythtv- 
backend script to /etc/init.d and make the following soft links:

/etc/rc0.d/K20mythtv-backend -> ../init.d/mythtv-backend
/etc/rc1.d/K20mythtv-backend -> ../init.d/mythtv-backend
/etc/rc2.d/K20mythtv-backend -> ../init.d/mythtv-backend
/etc/rc3.d/S20mythtv-backend -> ../init.d/mythtv-backend
/etc/rc4.d/S20mythtv-backend -> ../init.d/mythtv-backend
/etc/rc5.d/S20mythtv-backend -> ../init.d/mythtv-backend
/etc/rc6.d/K20mythtv-backend -> ../init.d/mythtv-backend

If you can't find a package write to me off-list and I'll send you my  
debian one.

- George



More information about the mythtv-users mailing list