Jonathan Davis wrote:
Go into /etc/rc.d/init.d/functions
Find the section starting with boot_log and change it to this, also make
sure logger is in the /bin

boot_log()
{
        if [ -f /bin/logger ]; then
                /bin/logger -p local2.info -t bootlog "[EMAIL PROTECTED]"
        else
                return 0
        fi
}

Well, I made the change and /bin/logger is certainly there, but I
haven't noticed any change.  Looking closer at the functions script,
it appears that all boot_log() does is print an error if there is an
error that causes the boot to fail.

What I want is everything that was echo'ed to the screen during boot
to be echo'ed to a log file so that I can examine it after the boot is
complete.  From looking closer at the functions scripts and various
scripts that call those functions, it appears that I would have to
alter boot_mesg(), echo_ok(), echo_failure(), and echo_warning so that
they echo to a file as well as to the screen.  Is that indeed the
case, or have I misunderstood what is going on?  It would be nice if I
could simply set a flag of somesuch to have the boot information
logged to a file, but from what I can see, that isn't possible.

- Jonathan Davis
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support
Working on restoring that function to the bootscripts, try the ones at http://ftp.jg555.com/bootscripts

_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support

Reply via email to