Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 27573

Summary: /sbin/rc don't folow the color setting
Product: Gentoo Linux Reporter: Sergey Okhapkin <sos>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: trivial    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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 ...