<div class="gmail_quote">On Wed, Aug 10, 2011 at 2:00 PM,  <span dir="ltr">&lt;</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
mso-ascii-theme-font:minor-latin;mso-fareast-font-family:Calibri;mso-fareast-theme-font:
minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&quot;Times New Roman&quot;;
mso-bidi-theme-font:minor-bidi;mso-ansi-language:EN-US;mso-fareast-language:
EN-US;mso-bidi-language:AR-SA">&quot;Brian J. Murrell&quot;
&lt;<a href="mailto:brian@interlinx.bc.ca">brian@interlinx.bc.ca</a></span><span dir="ltr">&gt;</span> wrote:<br><div> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Sounds like you need an initscript, which naturally runs as root<br>
scheduled to run before the backend initscript.<br>
<br></blockquote><div><br>Yes, the initscript naturally running as root after (or before) the backend starts, that&#39;s the goal. <br>But how do I do it?<br>Elsewhere somebody suggested to add the instances included in the script to the mythbackend 
startup script in /etc/init.d/mythtv-backend or 
/etc/init/mythbackend.conf. Is that what you mean?<br>
<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Use the right tools for the right job.  Having the backend run a script<br>
elevated to a privileged user that just ends up in the backend<br>
restarting itself is simply the wrong tool.<br>
<br></blockquote><div><br>I know, that&#39;s why I was asking!<br><br>Also, I&#39;ll give the rc.local approach suggested by Phill a try.<br><br>Thanks<br>Francesco</div><br></div><br>