[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/init.d/boot message?



Please, don't do this because if you have a wrong boot sequence (or a
problem in it)
 you won't see it and can be stopped whith no way to resolve your
problem.

Use the command "dmesg | more" to see you boot sequence after booting
or go in the /var/adm directory. There, you'll find the "messages" file
which receive most of the system messages. You'll find several log files
also
that you can edit.

Phil  BARBELET
CNES - French Guiana -
European Space Port.

 ----------
De: servis@purdue.edu
A: debian-user@lists.debian.org
Objet: Re: /etc/init.d/boot message?
Date: mardi 23 juin 1998 14:59

Microsoft Mail v3.0 IPM.Microsoft Mail.Note
From: servis@purdue.edu
To:  debian-user@lists.debian.org
Subject:  Re: /etc/init.d/boot message?
Date: 1998-06-23 14:59
Priority: 3

 ------------------------------------------------------------------------
---- --

On Fri, 19 Jun 1998, Mark Yobb wrote:
>
>         I know how to use `dmesg` but I would really like to be able to get
> the info that scrolls across my screen (on bootup) when /etc/init.d/boot is
> executing.  Is this message sent to a log file or something?  How can I look
> at this after booting?

This is just a stab in the dark. But could something like this be done
in /etc/inittab?

[snip]
si::sysinit:/etc/init.d/rcS > /var/log/rcS.log 2>&1
                           ^^^^^^^^^^^^^^^^^^^^^^^^
[snip]
l0:0:wait:/etc/init.d/rc 0 > /var/log/rc0.log 2>&1
l1:1:wait:/etc/init.d/rc 1 > /var/log/rc1.log 2>&1
l2:2:wait:/etc/init.d/rc 2 > /var/log/rc2.log 2>&1
l3:3:wait:/etc/init.d/rc 3 > /var/log/rc3.log 2>&1
l4:4:wait:/etc/init.d/rc 4 > /var/log/rc4.log 2>&1
l5:5:wait:/etc/init.d/rc 5 > /var/log/rc5.log 2>&1
l6:6:wait:/etc/init.d/rc 6 > /var/log/rc6.log 2>&1
                           ^^^^^^^^^^^^^^^^^^^^^^^^

I don't know I just thought this. I haven't tried it but maybe someone
that understands the startup scripts better can flame me!

Disclaimer:  I don't know if this will work and have not tried it so
don't blame me if it breaks your system.  You have been warned!


Brian
 --
Mechanical Engineering                              servis@purdue.edu
Purdue University                   http://www.ecn.purdue.edu/~servis


 --
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org


--  
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: