How do I echo colors on Slackware boot up?
Hello, all - I seem to stumble more and more into certain "projects" that I need help with or reference to. I'm currently working with Slackware 11 - very speedy compared to the others I've kibbitzed with. However...
When I select the 'Slackware' entry from my GRUB menu, I get nothing but gray letters on a black screen while the system opens up for business. I've decided that it would be easier on me (and my eyes) if I had a way to colorize the boot processes, in something that is somewhat similar to Knoppix's start-up. I've searched, here and on Google, but either I don't yet know what to put in the search terms or what I've found doesn't seem to apply. What do I need to be looking for or doing to make that happen? And what outputs do I need to post? And if I need to re-compile, what options do I need to select? Much thanks. |
The file, in SuSE at any rate, is /etc/rc.status. Here are the opening comments from that file:
Quote:
|
Quote:
Thanks for your help - it gives me a starting point. |
I guess the first step is to verify that you do/don't have a file called rc.status.
locate rc.status You may have it, but in a sub-directory of /etc. Or, you may not have it. The next text would be to search for the escape codes that determine the color output. '# \033[31m switch on red' contains \033, so let's look for that. find /etc -type f | xargs grep '\033' will find every file in /etc containing that sequence. If you include the square bracket [, you will get an error message about unmatched [. Then look through the files returned for the code sequences I provided earlier. If Slackware has any means of controling the colors, the scrpt should have those color codes, regardless of the name of the script. Oops, forgot to mention. You may have to run find as root to be able to grep files that user doesn't have permission to view. |
No luck using any of those suggestions, although I did think that they was good.
What about "DIR_COLORS?" Isn't this what dictates directory listings, but if so, can it be used for startup in some way? |
All times are GMT -5. The time now is 02:53 PM. |