summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-09-29 20:46:43 +0000
committerJeremy Katz <katzj@redhat.com>2003-09-29 20:46:43 +0000
commitd352bcb703819a10277de1b254df3313384de006 (patch)
tree82763f54a6332d61d219887ec4b38b8768d6644d
parentaef918729a2d04e6f1ea149d281ba539079c34b6 (diff)
downloadanaconda-d352bcb703819a10277de1b254df3313384de006.tar.gz
anaconda-d352bcb703819a10277de1b254df3313384de006.tar.xz
anaconda-d352bcb703819a10277de1b254df3313384de006.zip
don't let probed hsync/vsync override the provided one (#105586)
-rw-r--r--installclass.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/installclass.py b/installclass.py
index 6b23e8a63..172b340b4 100644
--- a/installclass.py
+++ b/installclass.py
@@ -392,11 +392,16 @@ class BaseInstallClass:
if usemon:
monname = usemon
try:
- (model, eisa, vsync, hsync) = id.monitor.lookupMonitorByName(usemon)
+ (model, eisa, vert, horiz) = id.monitor.lookupMonitorByName(usemon)
if id.monitor.getMonitorID() != "DDCPROBED":
useid = model
else:
useid = "DDCPROBED"
+
+ if not vsync:
+ vsync = vert
+ if not hsync:
+ hsync = horiz
id.monitor.setSpecs(hsync, vsync, id=useid, name=model)
setmonitor = 1