aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2011-10-17 21:38:04 +0100
committerColin Guthrie <colin@mageia.org>2011-10-21 10:10:58 +0100
commit29aae08c5860326975c91834ee9aa9560b4ef7da (patch)
tree2d1c1a5bc2f1cc4cc62f3e6051caab80b60471cb /rc.d
parentbe75c98a06d569fbaa2d86f92676af961795d094 (diff)
downloadinitscripts-29aae08c5860326975c91834ee9aa9560b4ef7da.tar
initscripts-29aae08c5860326975c91834ee9aa9560b4ef7da.tar.gz
initscripts-29aae08c5860326975c91834ee9aa9560b4ef7da.tar.bz2
initscripts-29aae08c5860326975c91834ee9aa9560b4ef7da.tar.xz
initscripts-29aae08c5860326975c91834ee9aa9560b4ef7da.zip
Apply Mageia branding patch
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index b4779b18..6a626533 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -211,8 +211,8 @@ relabel_selinux() {
# Print a text banner.
# C-like escape sequences don't work as 2nd and up parameters of gprintf,
# so real escap chars were written
-PRODUCT=`sed "s/.*release \([0-9.]*\).*/\1/g" /etc/mandriva-release 2> /dev/null`
-SYSTEM=${SYSTEM="Mandriva Linux"}
+PRODUCT=`sed "s/.*release \([0-9.]*\).*/\1/g" /etc/release 2> /dev/null`
+SYSTEM=${SYSTEM="Mageia"}
if [ -r /etc/sysconfig/oem ]; then
. /etc/sysconfig/oem