
jarod at wilsonet
Dec 29, 2004, 10:58 AM
Post #2 of 2
(293 views)
Permalink
|
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/
|