From afe131a1d0aacc5343f7bb6036d1aa35f64fe272 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 e5582f0..223055e 100644 --- a/bootloaderInfo.py +++ b/bootloaderInfo.py @@ -2079,9 +2079,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