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

_______________________________________________
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users

Reply via email to