1 |
From c9924373ca327fb56507349b0d73a08c55122a16 Mon Sep 17 00:00:00 2001 |
2 |
From: Shad L. Lords <slords@mail.com> |
3 |
Date: Mon, 26 Oct 2009 22:20:57 -0600 |
4 |
Subject: [PATCH] Use SME labels on grub screen |
5 |
|
6 |
--- |
7 |
butil.py | 6 +++--- |
8 |
1 files changed, 3 insertions(+), 3 deletions(-) |
9 |
|
10 |
diff --git a/butil.py b/butil.py |
11 |
index 70699fb..62416f3 100644 |
12 |
--- a/butil.py |
13 |
+++ b/butil.py |
14 |
@@ -134,9 +134,9 @@ def getPPCMacBook(): |
15 |
|
16 |
# returns a product name to use for the boot loader string |
17 |
def getProductName(): |
18 |
- # try redhat-release first |
19 |
- if os.access("/etc/redhat-release", os.R_OK): |
20 |
- f = open("/etc/redhat-release", "r") |
21 |
+ # try e-smith-release first |
22 |
+ if os.access("/etc/e-smith-release", os.R_OK): |
23 |
+ f = open("/etc/e-smith-release", "r") |
24 |
lines = f.readlines() |
25 |
f.close() |
26 |
for buf in lines: |
27 |
-- |
28 |
1.5.5.6 |
29 |
|