1 |
slords |
1.2 |
diff -uNr initscripts-8.45.19.EL__orig/rc.d/rc.sysinit initscripts-8.45.19.EL/rc.d/rc.sysinit |
2 |
|
|
--- initscripts-8.45.19.EL__orig/rc.d/rc.sysinit 2008-03-03 15:39:57.000000000 +0000 |
3 |
|
|
+++ initscripts-8.45.19.EL/rc.d/rc.sysinit 2008-06-14 22:40:36.000000000 +0100 |
4 |
|
|
@@ -255,6 +255,11 @@ |
5 |
slords |
1.1 |
[ "$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" |