diff options
author | Matt Wilson <msw@redhat.com> | 1999-09-22 17:49:31 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-09-22 17:49:31 +0000 |
commit | c95c060655f651f8fd698099af39dd8c90ac4446 (patch) | |
tree | aa101473c95be06cb72850acdb484c9adf2364f4 /xf86config.py | |
parent | 5c32d32ec71fdf295e22f70674448efd27c3cea8 (diff) | |
download | anaconda-c95c060655f651f8fd698099af39dd8c90ac4446.tar.gz anaconda-c95c060655f651f8fd698099af39dd8c90ac4446.tar.xz anaconda-c95c060655f651f8fd698099af39dd8c90ac4446.zip |
fix for vga16 fallback
Diffstat (limited to 'xf86config.py')
-rw-r--r-- | xf86config.py | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/xf86config.py b/xf86config.py index 5504cb8ff..f73765e18 100644 --- a/xf86config.py +++ b/xf86config.py @@ -289,7 +289,7 @@ EndSection child = os.fork() if (not child): os.environ["DISPLAY"] = ":9" - os.execv("/usr/X11R6/bin/Xtest", ["Xtest", "--nostart"]) + os.execv("/usr/X11R6/bin/Xtest", ["Xtest", "--nostart", "--noinitlevel"]) else: pid, status = os.waitpid(child, 0) os.kill (server, 15) @@ -764,28 +764,29 @@ Section "Screen" EndSubsection EndSection """ % info - for driver in [ "svga", "accel" ]: - info["DRIVER"] = driver - section = section + """ + if self.devID: + for driver in [ "svga", "accel" ]: + info["DRIVER"] = driver + section = section + """ # The %(DRIVER)s server Section "Screen" Driver "%(DRIVER)s" Device "%(DEVICE)s" Monitor "%(MONITOR)s" """ % info - for depth in self.modes.keys (): - if not self.modes[depth]: continue - section = section + """ + for depth in self.modes.keys (): + if not self.modes[depth]: continue + section = section + """ Subsection "Display" Depth %s Modes """ % depth - for res in self.modes[depth]: - section = section + '"' + res + '" ' - section = section + """ + for res in self.modes[depth]: + section = section + '"' + res + '" ' + section = section + """ ViewPort 0 0 EndSubsection """ - section = section + "EndSection\n" + section = section + "EndSection\n" return section if __name__ == "__main__": |