From 8c598f5ce24233e02330959f34194ea9fb46e769 Mon Sep 17 00:00:00 2001 From: Shad L. Lords Date: Thu, 22 Oct 2009 09:24:50 -0600 Subject: [PATCH] Use SME labels on grub screen --- bootloaderInfo.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bootloaderInfo.py b/bootloaderInfo.py index 1e518fc..16b0728 100644 --- a/bootloaderInfo.py +++ b/bootloaderInfo.py @@ -2085,9 +2085,9 @@ def getRootDevName(initrd, fsset, rootDev, instRoot): # returns a product name to use for the boot loader string # FIXME: this is based on the stuff from anaconda, but kind of crappy :-/ def getProductName(): - # try redhat-release first - if os.access("/etc/redhat-release", os.R_OK): - f = open("/etc/redhat-release", "r") + # try e-smith-release first + if os.access("/etc/e-smith-release", os.R_OK): + f = open("/etc/e-smith-release", "r") lines = f.readlines() f.close() for buf in lines: -- 1.5.5.6