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
[EMAIL PROTECTED]

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/

Attachment: pgpo2NmRe4bAO.pgp
Description: PGP signature

_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to