1 |
diff -uNr initscripts-9.03.17__orig/rc.d/rc.sysinit initscripts-9.03.17/rc.d/rc.sysinit |
2 |
--- initscripts-9.03.17__orig/rc.d/rc.sysinit 2010-09-01 14:34:41.000000000 +0000 |
3 |
+++ initscripts-9.03.17/rc.d/rc.sysinit 2011-06-07 23:23:46.000000000 +0000 |
4 |
@@ -100,6 +100,12 @@ |
5 |
[ "$BOOTUP" = "color" ] && echo -en "\\033[0;39m" |
6 |
PRODUCT=$(sed "s/Fedora \(.*\) \?release.*/\1/" /etc/system-release) |
7 |
echo " $PRODUCT" |
8 |
+elif [[ "$system_release" =~ "CentOS" ]]; then |
9 |
+ [ "$BOOTUP" = "color" ] && echo -en "\\033[0;36m" |
10 |
+ echo -en "CentOS" |
11 |
+ [ "$BOOTUP" = "color" ] && echo -en "\\033[0;39m" |
12 |
+ PRODUCT=$(sed "s/CentOS \(.*\) \?release.*/\1/" /etc/system-release) |
13 |
+ echo " $PRODUCT" |
14 |
else |
15 |
PRODUCT=$(sed "s/ release.*//g" /etc/system-release) |
16 |
echo "$PRODUCT" |