boot messages

Andrew Mathews andrew_mathews
Mon May 17 11:39:37 PDT 2004


Tony Alfrey wrote:
> Hi.
> 
> I want to put little messages in the various boot scripts (like in 
> /etc/rc.d/rc.modules) so that I can track the boot process.  I would 
> like these messages to appear someplace where I can review them, such 
> as in dmesg.  So far, I have simply put
> echo "blah blah"
> into scripts and the messages appear on the screen during boot-up but 
> not in either dmesg (or /var/log/messages) which is where I would like 
> them.
> Does someone know how to do this?  I would really appreciate a hint on 
> this one.
> Thanks much in advance!
> 
> 
> 

Try:
echo "blah blah" >> /var/log/boot.log or
echo "blah blah" >> /var/log/messages.

-- 
Andrew Mathews
---------------------------------------------------------------------
   3:45pm  up 2 days, 23:48,  4 users,  load average: 1.01, 1.04, 1.16
---------------------------------------------------------------------
Nothing will ever be attempted if all possible objections must be first
overcome.
		-- Dr. Johnson



More information about the Linux-users mailing list