1 |
slords |
1.1 |
diff -uNr initscripts-8.45.4.EL__orig/rc.d/rc.sysinit initscripts-8.45.4.EL/rc.d/rc.sysinit |
2 |
|
|
--- initscripts-8.45.4.EL__orig/rc.d/rc.sysinit 2006-10-18 16:44:14.000000000 +0100 |
3 |
|
|
+++ initscripts-8.45.4.EL/rc.d/rc.sysinit 2007-03-06 01:37:25.000000000 +0000 |
4 |
|
|
@@ -247,6 +247,11 @@ |
5 |
|
|
[ "$BOOTUP" = "color" ] && echo -en "\\033[0;39m" |
6 |
|
|
PRODUCT=`sed "s/Fedora \(.*\) release.*/\1/" /etc/redhat-release` |
7 |
|
|
echo " $PRODUCT" |
8 |
|
|
+elif [[ "$redhat_release" =~ "CentOS" ]]; then |
9 |
|
|
+ [ "$BOOTUP" = "color" ] && echo -en "\\033[0;36m" |
10 |
|
|
+ PRODUCT=`sed "s/CentOS \(.*\) release.*/\1/" /etc/redhat-release` |
11 |
|
|
+ echo -e " $PRODUCT" |
12 |
|
|
+ [ "$BOOTUP" = "color" ] && echo -en "\\033[0;39m" |
13 |
|
|
else |
14 |
|
|
PRODUCT=`sed "s/ release.*//g" /etc/redhat-release` |
15 |
|
|
echo "$PRODUCT" |