Bug 110530 - misprints in /etc/rc.d/rc.sysinit
misprints in /etc/rc.d/rc.sysinit
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: initscripts (Show other bugs)
1
All Linux
medium Severity low
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
: EasyFix
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-11-20 15:12 EST by Daniel Hammer
Modified: 2014-03-16 22:40 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-01-13 21:03:28 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Daniel Hammer 2003-11-20 15:12:53 EST
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 13:43:56 EDT
Still existent in FC3t1 (initscripts-7.60-1). EASYFIX.
Comment 2 Nicholas Miell 2005-01-13 20:27:04 EST
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 04:15:10 EST
Yes, lets kill that beast! ;-)

Note You need to log in before you can comment on or make changes to this bug.