diff options
author | Bill Nottingham <notting@redhat.com> | 2004-05-03 20:41:32 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2004-05-03 20:41:32 +0000 |
commit | 95e4ff38f1d575aa66d551144cca35379c6cae5c (patch) | |
tree | 3e5c0cc62fab22d72b8c37aacea19e0b40d4fb33 | |
parent | 3c752cfdf639f5dab3a740208fbe2d5303be78ab (diff) | |
download | initscripts-95e4ff38f1d575aa66d551144cca35379c6cae5c.tar initscripts-95e4ff38f1d575aa66d551144cca35379c6cae5c.tar.gz initscripts-95e4ff38f1d575aa66d551144cca35379c6cae5c.tar.bz2 initscripts-95e4ff38f1d575aa66d551144cca35379c6cae5c.tar.xz initscripts-95e4ff38f1d575aa66d551144cca35379c6cae5c.zip |
fedora coloring
-rwxr-xr-x | rc.d/rc.sysinit | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 7300a7ad..55e53a85 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -82,6 +82,12 @@ if LC_ALL=C fgrep -q "Red Hat" /etc/redhat-release ; then [ "$BOOTUP" = "color" ] && echo -en "\\033[0;39m" PRODUCT=`sed "s/Red Hat \(.*\) release.*/\1/" /etc/redhat-release` echo " $PRODUCT" +else if LC_ALL=C fgrep -q "Fedora" /etc/redhat-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/redhat-release` + echo " $PRODUCT" else PRODUCT=`sed "s/ release.*//g" /etc/redhat-release` echo "$PRODUCT" |