diff options
author | Bill Nottingham <notting@redhat.com> | 2007-02-23 14:44:40 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2007-02-23 14:44:40 +0000 |
commit | 63eebffa8308cee9ae5515abb733345ee8c9844e (patch) | |
tree | ffa5c92d50d05ebf6ac0f0b4d786ffd46d0bf331 /rc.d/rc.sysinit | |
parent | 56d85cc68cb53d3cf49a85a7716bf6a58b13d133 (diff) | |
download | initscripts-63eebffa8308cee9ae5515abb733345ee8c9844e.tar initscripts-63eebffa8308cee9ae5515abb733345ee8c9844e.tar.gz initscripts-63eebffa8308cee9ae5515abb733345ee8c9844e.tar.bz2 initscripts-63eebffa8308cee9ae5515abb733345ee8c9844e.tar.xz initscripts-63eebffa8308cee9ae5515abb733345ee8c9844e.zip |
fix 'Fedora Fedora'
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-x | rc.d/rc.sysinit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 4c607957..dff9bbe0 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -245,7 +245,7 @@ elif [[ "$redhat_release" =~ "Fedora" ]]; then [ "$BOOTUP" = "color" ] && echo -en "\\033[0;34m" echo -en "Fedora" [ "$BOOTUP" = "color" ] && echo -en "\\033[0;39m" - PRODUCT=`sed "s/Fedora \(.*\) release.*/\1/" /etc/redhat-release` + PRODUCT=`sed "s/Fedora \(.*\) \?release.*/\1/" /etc/redhat-release` echo " $PRODUCT" else PRODUCT=`sed "s/ release.*//g" /etc/redhat-release` |