[mythtv] [PATCH] Add option to mythfilldatabase to change

William Uther willu.mailingLists at cse.unsw.edu.au
Sat Apr 30 22:21:39 UTC 2005


William Uther wrote:

> Hamish wrote:
>
>>  William Uther wrote:
>>>  Hamish Moffatt wrote:
>>>>  Why not run the backend as non-root instead?
>>>
>>>  Certainly an option. I didn't go that path because I hold out hope
>>> for
>>>  the real time threads feature.
>>
>> AFAIK, real-time threads are only used in the frontend, not the
>> backend.
>
> I'm sure there was a reason I thought the backend was better running as
> root, but you seem to be correct.  I'm testing a patch to the init
> script to fix the problem instead of that one.

Does anyone know how to make something like:

export HOME=~${USER}

actually work in sh?

export HOME=/home/mythtv
and
export HOME=~mythtv

both set HOME to /home/mythtv

but having USER as a variable sets HOME to "~mythtv" which is then not 
expanded into "/home/mythtv".

Anyway, it seems adding one of the first two to the init script fixes 
the problem I was having, so that patch is not needed.

Be well,

Will          :-}

--
Dr William Uther                           National ICT Australia
Phone: +61 2 9385 6357               Computer Science and Engineering
Email: willu at cse.unsw.edu.au          University of New South Wales
Web: http://www.cse.unsw.edu.au/~willu/     Sydney, Australia



More information about the mythtv-dev mailing list