<p><span style="font-family: Verdana,Arial,Helvetica; color: black; font-size: x-small;"><span style="font-family: Verdana,Arial,Helvetica; color: black; font-size: x-small;">>Yes, the initscript naturally running as root after (or before) the backend <br />>starts, that's the goal. </span></span></p>
<p>If you are running upstart (which you probably are on 10.04) then have a look at:</p>
<p>/etc/init/mythtv-backend.conf</p>
<p>If there you'll see "pre-start script". If you look at the link below you'll see examples of how to add code either pre or post script so you can run your stuff whenever you want relative to mythbackend.</p>
<p> </p>
<p><span style="font-family: Verdana,Arial,Helvetica; color: black; font-size: x-small;"><span style="font-family: Verdana,Arial,Helvetica; color: black; font-size: x-small;">http://upstart.ubuntu.com/getting-started.html<br /></span></span></p>