Bug 110530

Summary: misprints in /etc/rc.d/rc.sysinit
Product: [Fedora] Fedora Reporter: Daniel Hammer <h0m6r3>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED NOTABUG QA Contact: Brock Organ <borgan>
Severity: low Docs Contact:
Priority: medium    
Version: 1CC: leonard-rh-bugzilla, nmiell, rvokal
Target Milestone: ---Keywords: EasyFix
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-01-14 02:03:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Daniel Hammer 2003-11-20 20:12:53 UTC
Description of problem:
there are some misprints in /etc/rc.d/rc.sysinit;
don't get me wrong, this is just for the beauty of the script:

# Print a text banner.
echo -en $"\t\tWelcome to "
if LC_ALL=C fgrep -q "Red Hat" /etc/redhat-release ; then
 [ "$BOOTUP" = "color" ] && echo -en "\\033[0;31m"
 echo -en "Red Hat"
 [ "$BOOTUP" = "color" ] && echo -en "\\033[0;39m"
 PRODUCT=`sed "s/Red Hat \(.*\) release.*/\1/" /etc/redhat-release`
 echo " $PRODUCT"
else
 PRODUCT=`sed "s/ release.*//g" /etc/redhat-release`
 echo "$PRODUCT"
fi
if [ "$PROMPT" != "no" ]; then
 echo -en $"\t\tPress 'I' to enter interactive startup."
 echo
fi

shold be:

# Print a text banner.
echo -en $"\t\tWelcome to "
if LC_ALL=C fgrep -q "Fedora" /etc/fedora-release ; then
 [ "$BOOTUP" = "color" ] && echo -en "\\033[0;31m"
 echo -en "Fedora"
 [ "$BOOTUP" = "color" ] && echo -en "\\033[0;39m"
 PRODUCT=`sed "s/Fedora \(.*\) release.*/\1/" /etc/fedora-release`
 echo " $PRODUCT"
else
 PRODUCT=`sed "s/ release.*//g" /etc/fedora-release`
 echo "$PRODUCT"
fi
if [ "$PROMPT" != "no" ]; then
 echo -en $"\t\tPress 'I' to enter interactive startup."
 echo
fi


Version-Release number of selected component (if applicable):
initscripts-7.42-1

How reproducible:
Always

Actual Results:  no red colour of "Fedora Core"

Expected Results:  red colour of "Fedora Core"
;-)

Comment 1 Leonard den Ottolander 2004-08-12 17:43:56 UTC
Still existent in FC3t1 (initscripts-7.60-1). EASYFIX.


Comment 2 Nicholas Miell 2005-01-14 01:27:04 UTC
appears to have been fixed some time between 7.60 and 7.93.5
(although, I'd argue that Fedora should be colored blue instead of red)

Comment 3 Daniel Hammer 2005-01-14 09:15:10 UTC
Yes, lets kill that beast! ;-)