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

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



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


Reply to: