Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Update notes for Jarod's guide 2

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


hvdkooij at vanderkooij

Dec 29, 2004, 6:04 AM

Post #1 of 2 (320 views)
Permalink
Update notes for Jarod's guide 2

Some updated notes on why /etc/rc.local is NOT the proper file!

The file /etc/rc.local is used for SYSTEM startup. If one needs a new
variable for all users one should use a file like /etc/profile and add:

MYKERNEL=`uname -r`
export MYKERNEL

Hugo.

PS: I suppose other solutions may be more upgrade resilient.

--
I hate duplicates. Just reply to the relevant mailinglist.
hvdkooij[at]vanderkooij.org http://hvdkooij.xs4all.nl/
Don't meddle in the affairs of magicians,
for they are subtle and quick to anger.


jarod at wilsonet

Dec 29, 2004, 10:58 AM

Post #2 of 2 (293 views)
Permalink
Re: Update notes for Jarod's guide 2 [In reply to]

On Wednesday 29 December 2004 06:04, Hugo van der Kooij wrote:
> Some updated notes on why /etc/rc.local is NOT the proper file!
>
> The file /etc/rc.local is used for SYSTEM startup. If one needs a new
> variable for all users one should use a file like /etc/profile and add:
>
> MYKERNEL=`uname -r`
> export MYKERNEL
>
> Hugo.
>
> PS: I suppose other solutions may be more upgrade resilient.

Yeah, this has been discussed a bit in the past, the recommendation is to
create a file kver.sh in /etc/profile.d that includes nothing but the line:

export MYKERNEL=`uname -r`

--
Jarod C. Wilson, RHCE
jarod[at]wilsonet.com

Got a question? Read this first...
http://catb.org/~esr/faqs/smart-questions.html
MythTV, Fedora Core & ATrpms documentation:
http://wilsonet.com/mythtv/
MythTV Searchable Mailing List Archive
http://www.gossamer-threads.com/lists/mythtv/

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.