summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-02-23 21:43:19 +0000
committerMatt Wilson <msw@redhat.com>2000-02-23 21:43:19 +0000
commit1fcd9b35a7565c99263c1eb34ad4e9ae3dd6b48e (patch)
tree590294fbc20f737c2fe28039f4dc32d0e06ddd15
parentdca733e2fe356bd596d6b8cde5246db0767fe221 (diff)
downloadanaconda-1fcd9b35a7565c99263c1eb34ad4e9ae3dd6b48e.tar.gz
anaconda-1fcd9b35a7565c99263c1eb34ad4e9ae3dd6b48e.tar.xz
anaconda-1fcd9b35a7565c99263c1eb34ad4e9ae3dd6b48e.zip
fix for kickstart monitor setting
-rw-r--r--xf86config.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/xf86config.py b/xf86config.py
index 10f282c70..ceaf5191e 100644
--- a/xf86config.py
+++ b/xf86config.py
@@ -26,7 +26,7 @@ class XF86Config:
self.monHoriz = ""
self.monVert = ""
self.monSect = None
- self.monID = "Generic Monitor"
+ self.monID = "Generic VGA Monitor"
self.devID = None
self.probed = 0
self.skip = 0
@@ -525,7 +525,7 @@ Section "Keyboard"
# Any number of monitor sections may be present
Section "Monitor"
- Identifier "Generic Monitor"
+ Identifier "Generic VGA Monitor"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 31.5
@@ -799,6 +799,9 @@ Section "Device"
monID = "Probed Monitor"
else:
monID = self.monID
+ if not monID:
+ monID = "Generic VGA Monitor"
+
info = { "DEVICE" : self.devID,
"MONITOR" : monID }