[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Sheflug] Boot
>>>>> "Darrell" == Darrell Blake <dazblake [at] Btinternet.com> writes:
Darrell> Hi, I'm wondering if anyone can help me. I'm wanting to
Darrell> add text to my boot up so I can see what is being loaded
Darrell> up. Like, when it's loading up PCMCIA devices or whatever
Darrell> I could put a line of bright green text before it saying
Darrell> "PCMCIA Devices". It would make it much easier for me to
Darrell> see what was happening and I'm just wondering if this is
Darrell> at all possible.
It certainly is - Redhat has been doing this for as long as I've been
using it.
Redhat's /etc/rc.d/rc/sysinit is the one to look at.
I can email the complete script to you if you wish offlist, but the
general idea seems to be:
#!/bin/bash
[...]
# Start up swapping.
action $"Activating swap partitions: " swapon -a -e
[...]
# Set the hostname.
action $"Setting hostname ${HOSTNAME}: " hostname ${HOSTNAME}
[...]
and so on for filesystems, RAID, sound, USB, etc, etc.
Cheers.
Baz
--
Barrie J. Bremner OpenPGP public key ID: 5164F553
baz [at] barriebremner.com http://barriebremner.com/
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.