1 |
slords |
1.1 |
diff -uNr initscripts-7.93.11.EL.orig/rc.d/rc.sysinit initscripts-7.93.11.EL/rc.d/rc.sysinit |
2 |
|
|
--- initscripts-7.93.11.EL.orig/rc.d/rc.sysinit 2004-11-01 14:31:01.000000000 -0600 |
3 |
|
|
+++ initscripts-7.93.11.EL/rc.d/rc.sysinit 2005-02-16 16:58:55.897991089 -0600 |
4 |
|
|
@@ -99,18 +99,11 @@ |
5 |
|
|
|
6 |
|
|
# Print a text banner. |
7 |
|
|
echo -en $"\t\tWelcome to " |
8 |
|
|
-if LC_ALL=C fgrep -q "Red Hat" /etc/redhat-release ; then |
9 |
|
|
- [ "$BOOTUP" = "color" ] && echo -en "\\033[0;31m" |
10 |
|
|
- echo -en "Red Hat" |
11 |
|
|
- [ "$BOOTUP" = "color" ] && echo -en "\\033[0;39m" |
12 |
|
|
- PRODUCT=`sed "s/Red Hat \(.*\) release.*/\1/" /etc/redhat-release` |
13 |
|
|
+if LC_ALL=C fgrep -q "CentOS" /etc/redhat-release ; then |
14 |
|
|
+ [ "$BOOTUP" = "color" ] && echo -en "\\033[0;36m" |
15 |
|
|
+ PRODUCT=`sed "s/CentOS \(.*\) release.*/\1/" /etc/redhat-release` |
16 |
|
|
echo " $PRODUCT" |
17 |
|
|
-elif LC_ALL=C fgrep -q "Fedora" /etc/redhat-release ; then |
18 |
|
|
- [ "$BOOTUP" = "color" ] && echo -en "\\033[0;31m" |
19 |
|
|
- echo -en "Fedora" |
20 |
|
|
[ "$BOOTUP" = "color" ] && echo -en "\\033[0;39m" |
21 |
|
|
- PRODUCT=`sed "s/Fedora \(.*\) release.*/\1/" /etc/redhat-release` |
22 |
|
|
- echo " $PRODUCT" |
23 |
|
|
else |
24 |
|
|
PRODUCT=`sed "s/ release.*//g" /etc/redhat-release` |
25 |
|
|
echo "$PRODUCT" |
26 |
|
|
@@ -929,12 +922,12 @@ |
27 |
|
|
fi |
28 |
|
|
wait |
29 |
|
|
|
30 |
|
|
-if [ -x /sbin/redhat-support-check -a -f /var/lib/supportinfo ]; then |
31 |
|
|
- /sbin/redhat-support-check || { |
32 |
|
|
- echo $"Normal startup will continue in 10 seconds." |
33 |
|
|
- sleep 10 |
34 |
|
|
-} |
35 |
|
|
-fi |
36 |
|
|
+#if [ -x /sbin/redhat-support-check -a -f /var/lib/supportinfo ]; then |
37 |
|
|
+# /sbin/redhat-support-check || { |
38 |
|
|
+# echo $"Normal startup will continue in 10 seconds." |
39 |
|
|
+# sleep 10 |
40 |
|
|
+#} |
41 |
|
|
+#fi |
42 |
|
|
|
43 |
|
|
# Let rhgb know that we're leaving rc.sysinit |
44 |
|
|
if [ -x /usr/bin/rhgb-client ] && /usr/bin/rhgb-client --ping ; then |