Re: /etc/init.d/boot message?
servis@purdue.edu writes:
> On 23 Jun, BARBELET Philippe wrote:
> But I think people want an exact list of the output that is generated
> after the kernel is done and the init scripts have started. So this is
> not the 'complete' solution.
> This is just a stab in the dark. But could something like this be done
> in /etc/inittab?
> How about this:
> [snip]
> si::sysinit:/etc/init.d/rcS 2>&1 | tee --append /var/log/rcS.log
> [snip]
> l0:0:wait:/etc/init.d/rc 0 2>&1 | tee --append /var/log/rc0.log
> l1:1:wait:/etc/init.d/rc 1 2>&1 | tee --append /var/log/rc1.log
> l2:2:wait:/etc/init.d/rc 2 2>&1 | tee --append /var/log/rc2.log
> l3:3:wait:/etc/init.d/rc 3 2>&1 | tee --append /var/log/rc3.log
> l4:4:wait:/etc/init.d/rc 4 2>&1 | tee --append /var/log/rc4.log
> l5:5:wait:/etc/init.d/rc 5 2>&1 | tee --append /var/log/rc5.log
> l6:6:wait:/etc/init.d/rc 6 2>&1 | tee --append /var/log/rc6.log
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 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
I have bootet some HPux systems here at the Univiersity and I realy
liked the way they boot:
After the kernel is loaded you get a list of things to be done. All
have a [.....] at the end. Now the bootprocedure goes from top to
bottom and fills in what its doing into that list.
Heres an example made up to explain what I mean:
...
Running filesystem check ............. [ ok ]
Mounting local filesystems ........... [ ok ]
Starting remote services ............. [failed]
Synchronysing time ................... [ wait ]
Starting xdm [......]
...
The status in [...] is colored. OK is green, wait and similar are
yellow, failed will be red I think.
I would like to implement a similar thing for Linux. My programm would
check the last boot sequence for output and create a menu
acordingly (this could be done on roots demand or after every
boot). Also the boot messages would go to another console (like
console 8) and to a logfile.
What do you think of this?
May the Source be with you.
Mrvn
PS: We could also show some ansi or gfx penguin in the corner during
boot. This wont look as bad as the old one, because the screen wont be
scrolling.
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: