Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27573 - /sbin/rc don't folow the color setting
Summary: /sbin/rc don't folow the color setting
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-29 17:26 UTC by Sergey Okhapkin
Modified: 2003-08-29 18:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Okhapkin 2003-08-29 17:26:49 UTC
The font color is being set directly in /sbin/rc regardless of RC_NOCOLOR 
setting. Here is the fix:

--- rc.orig     2003-08-29 19:44:51.000000000 -0400
+++ rc  2003-08-29 19:47:23.000000000 -0400
@@ -71,7 +71,7 @@
        PATH="/bin:/sbin:/usr/bin:/usr/sbin:${PATH}"
 
        echo
-       echo -e "${GOOD}Gentoo Linux${GENTOO_VERS}; \e
[34;01mhttp://www.gentoo.org/${NORMAL}"
+       echo -e "${GOOD}Gentoo Linux${GENTOO_VERS}; ${BRACKET}
http://www.gentoo.org/${NORMAL}"
        echo -e " Copyright 2001-2003 Gentoo Technologies, Inc.; Distributed 
under the GPL"
        echo


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




See the details.
Comment 1 SpanKY gentoo-dev 2003-08-29 18:10:45 UTC
already fixed in cvs ...